函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:49:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_inode_unlink - Smack check on inode deletion*@dir: containing directory object*@dentry: file to unlink* Returns 0 if current can write the containing directory* and the object, error code otherwise
函数原型:static int smack_inode_unlink(struct inode *dir, struct dentry *dentry)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | dir | |
struct dentry * | dentry |
1070 | smk_ad_setfield_u_fs_path_dentry( & ad, dentry) |
1076 | rc等于smk_bu_inode(ip, MAY_WRITE, rc) |
1077 | 如果rc恒等于0则 |
1082 | smk_ad_setfield_u_fs_inode( & ad, dir) |
1084 | rc等于smk_bu_inode(dir, MAY_WRITE, rc) |
1086 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |