Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:57:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_inode_removexattr

Proto:static int selinux_inode_removexattr(struct dentry *dentry, const char *name)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
const char *name
3285  If strcmp(name, XATTR_NAME_SELINUX) Then
3286  rc = 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
3287  If rc Then Return rc
3292  Return Same as inode_has_perm, but pass explicit audit data containingthe dentry to help the auditing code to more easily generate thepathname if needed.
3297  Return -EACCES