函数逻辑报告 |
Source Code:fs\xattr.c |
Create Date:2022-07-29 10:40:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr* Allocate memory, if not already allocated, or re-allocate correct size,* before retrieving the extended attribute.
函数原型:ssize_t vfs_getxattr_alloc(struct dentry *dentry, const char *name, char **xattr_value, size_t xattr_size, gfp_t flags)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry | |
const char * | name | |
char ** | xattr_value | |
size_t | xattr_size | |
gfp_t | flags |
272 | value等于xattr_value |
275 | error等于Check permissions for extended attribute access. This is a bit complicated* because different namespaces have very different rules. |
282 | 如果非get则返回:负EOPNOTSUPP |
288 | 如果非value或error大于xattr_size则 |
296 | xattr_value等于value |
297 | 返回:error |
名称 | 描述 |
---|---|
aa_xattrs_match | aa_xattrs_match - check whether a file matches the xattrs defined in profile*@bprm: binprm struct for the process to validate*@profile: profile to match against (NOT NULL)*@state: state to start match in* Returns: number of extended attributes that |
ima_read_xattr | |
evm_verify_hmac | vm_verify_hmac - calculate and compare the HMAC with the EVM xattr* Compute the HMAC on the dentry's protected set of extended attributes* and compare it against the stored security |
evm_calc_hmac_or_hash | Calculate the HMAC value across the set of protected security xattrs.* Instead of retrieving the requested xattr, for performance, calculate* the hmac using the requested xattr value. Don't alloc/free memory for |
evm_is_immutable |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |