函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vfs_removexattr

函数原型:int vfs_removexattr(struct dentry *dentry, const char *name)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
const char *name
384  inode等于 Where the name belongs to - NULL is * negative
387  error等于Check permissions for extended attribute access. This is a bit complicated* because different namespaces have very different rules.
388  如果error则返回:error
391  inode_lock(inode)
392  error等于security_inode_removexattr(dentry, name)
393  如果error则转到:out
396  error等于__vfs_removexattr(dentry, name)
398  如果非error
399  snotify_xattr - extended attributes were changed
400  evm_inode_post_removexattr(dentry, name)
403  out :
404  inode_unlock(inode)
405  返回:error
调用者
名称描述
removexattrExtended attribute REMOVE operations