函数逻辑报告 |
Source Code:security\commoncap.c |
Create Date:2022-07-27 20:10:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ap_inode_removexattr - Determine whether an xattr may be removed*@dentry: The inode/dentry being altered*@name: The name of the xattr to be changed* Determine whether an xattr may be removed from an inode, returning 0 if
函数原型:int cap_inode_removexattr(struct dentry *dentry, const char *name)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry | |
| const char * | name |
| 949 | 如果字符串指定长度比较不等于0则返回:0 |
| 953 | 如果字符串比较恒等于0则 |
| 960 | 返回:0 |
| 963 | 如果非ns_capable(user_ns, Allow setting zone reclaim policy )则返回:负EPERM |
| 965 | 返回:0 |
| 名称 | 描述 |
|---|---|
| security_inode_removexattr | |
| selinux_inode_removexattr | |
| smack_inode_removexattr | smack_inode_removexattr - Smack check on removexattr*@dentry: the object*@name: name of the attribute* Removing the Smack attribute requires CAP_MAC_ADMIN* Returns 0 if access is permitted, an error code otherwise |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |