函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__check_sticky

函数原型:int __check_sticky(struct inode *dir, struct inode *inode)

返回类型:int

参数:

类型参数名称
struct inode *dir
struct inode *inode
2704  fsuid等于current_fsuid()
2706  如果uid_eq(i_uid, fsuid)则返回:0
2708  如果uid_eq(i_uid, fsuid)则返回:0
2710  返回:非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
调用者
名称描述
check_sticky