Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__check_sticky

Proto:int __check_sticky(struct inode *dir, struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *dir
struct inode *inode
2704  fsuid = current_fsuid()
2706  If uid_eq(i_uid, fsuid) Then Return 0
2708  If uid_eq(i_uid, fsuid) Then Return 0
2710  Return Not apable_wrt_inode_uidgid - Check nsown_capable and uid and gid mapped*@inode: The inode in question*@cap: The capability in question* Return true if the current task has the given capability targeted at* its own user namespace and that the given inode's
Caller
NameDescribe
check_sticky