函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\evm\evm_main.c Create Date:2022-07-27 22:08:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:evm_protected_xattr

函数原型:static int evm_protected_xattr(const char *req_xattr_name)

返回类型:int

参数:

类型参数名称
const char *req_xattr_name
229  found等于0
232  namelen等于strlen - Find the length of a string*@s: The string to be sized
234  如果strlen - Find the length of a string*@s: The string to be sized恒等于namelen字符串指定长度比较恒等于0则
236  found等于1
237  退出
239  如果字符串指定长度比较恒等于0则
242  found等于1
243  退出
247  返回:found
调用者
名称描述
evm_verifyxattrvm_verifyxattr - verify the integrity of the requested xattr*@dentry: object of the verify xattr*@xattr_name: requested xattr*@xattr_value: requested xattr value*@xattr_value_len: requested xattr value length* Calculate the HMAC for the given dentry and
evm_protect_xattrvm_protect_xattr - protect the EVM extended attribute* Prevent security.evm from being modified or removed without the* necessary permissions or when the existing value is invalid.* The posix xattr acls are 'system' prefixed, which normally would not
evm_inode_post_setxattrvm_inode_post_setxattr - update 'security
evm_inode_post_removexattrvm_inode_post_removexattr - update 'security
evm_inode_init_securityvm_inode_init_security - initializes security.evm