Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:security_inode_setxattr

Proto:int security_inode_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
const char *name
const void *value
size_tsize
intflags
1230  If Value for the false possibility is greater at compile time(IS_PRIVATE(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)) Then Return 0
1236  ret = call_int_hook(inode_setxattr, 1, dentry, name, value, size, flags)
1239  If ret == 1 Then ret = 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*
1241  If ret Then Return ret
1243  ret = ima_inode_setxattr(dentry, name, value, size)
1244  If ret Then Return ret
1246  Return evm_inode_setxattr(dentry, name, value, size)