函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\xattr.c Create Date:2022-07-29 10:40:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__vfs_getxattr

函数原型:ssize_t __vfs_getxattr(struct dentry *dentry, struct inode *inode, const char *name, void *value, size_t size)

返回类型:ssize_t

参数:

类型参数名称
struct dentry *dentry
struct inode *inode
const char *name
void *value
size_tsize
306  handler等于Find the xattr_handler with the matching prefix.
307  如果是错误则返回:错误
309  如果非get则返回:负EOPNOTSUPP
311  返回:get(handler, dentry, inode, name, value, size)
调用者
名称描述
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