函数逻辑报告 |
Source Code:security\commoncap.c |
Create Date:2022-07-27 20:10:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ap_inode_setxattr - Determine whether an xattr may be altered*@dentry: The inode/dentry being altered*@name: The name of the xattr to be changed*@value: The value that the xattr will be changed to*@size: The size of value*@flags: The replacement flag*
函数原型:int cap_inode_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry | |
const char * | name | |
const void * | value | |
size_t | size | |
int | flags |
917 | 如果字符串指定长度比较不等于0则返回:0 |
925 | 如果字符串比较恒等于0则返回:0 |
928 | 如果非ns_capable(user_ns, Allow setting zone reclaim policy )则返回:负EPERM |
930 | 返回:0 |
名称 | 描述 |
---|---|
security_inode_setxattr | |
selinux_inode_setxattr | |
smack_inode_setxattr | smack_inode_setxattr - Smack check for setting xattrs*@dentry: the object*@name: name of the attribute*@value: value of the attribute*@size: size of the value*@flags: unused* This protects the Smack attribute explicitly |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |