Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__vfs_getxattr

Proto:ssize_t __vfs_getxattr(struct dentry *dentry, struct inode *inode, const char *name, void *value, size_t size)

Type:ssize_t

Parameter:

TypeParameterName
struct dentry *dentry
struct inode *inode
const char *name
void *value
size_tsize
306  handler = Find the xattr_handler with the matching prefix.
307  If IS_ERR(handler) Then Return PTR_ERR(handler)
309  If Not get Then Return -EOPNOTSUPP
311  Return get(handler, dentry, inode, name, value, size)
Caller
NameDescribe
get_vfs_caps_from_diskExtract the on-exec-apply capability sets for an executable file.
sb_finish_set_opts
inode_doinit_use_xattr
smk_fetchsmk_fetch - Fetch the smack label from a file.*@name: type of the label (attribute)*@ip: a pointer to the inode*@dp: a pointer to the dentry* Returns a pointer to the master list entry for the Smack label,
smack_d_instantiatesmack_d_instantiate - Make sure the blob is correct on an inode*@opt_dentry: dentry where inode will be attached*@inode: the object* Set the inode's security blob if it hasn't been done already.
evm_find_protected_xattrs
vfs_getxattr