函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-27 06:44:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:HAS_UNMAPPED_ID

函数原型:static inline bool HAS_UNMAPPED_ID(struct inode *inode)

返回类型:bool

参数:

类型参数名称
struct inode *inode
2049  返回:非uid_valid(i_uid)或非gid_valid(i_gid)
调用者
名称描述
inode_permissionde_permission - Check for access rights to a given inode*@inode: Inode to check permission on*@mask: Right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC)* Check for read/write/execute permissions on an inode
may_deleteCheck whether we can remove a link victim from directory dir, check* whether the type of victim is right.* 1. We can't do it if dir is read-only (done in permission())* 2. We should have write and exec permissions on dir* 3
vfs_linkvfs_link - create a new link*@old_dentry: object to be linked*@dir: new parent*@new_dentry: where to create the new link*@delegated_inode: returns inode needing a delegation break* The caller must hold dir->i_mutex* If vfs_link discovers a delegation on
atime_needs_updateh_atime - update the access time*@path: the &struct path to update*@inode: inode to update* Update the accessed time on an inode and mark it for writeback.* This function automatically handles read only file systems and media,
xattr_permissionCheck permissions for extended attribute access. This is a bit complicated* because different namespaces have very different rules.