Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_appraise.c Create Date:2022-07-28 19:59:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ima_inode_removexattr

Proto:int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
const char *xattr_name
566  result = ma_protect_xattr - protect 'security.ima'* Ensure that not just anyone can modify or remove 'security.ima'.
567  If result == 1 Then
568  ima_reset_appraise_flags(d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper, 0)
569  result = 0
571  Return result