函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\commoncap.c Create Date:2022-07-27 20:09:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ap_inode_need_killpriv - Determine if inode change affects privileges*@dentry: The inode/dentry in being changed with change marked ATTR_KILL_PRIV* Determine if an inode having a change applied that's marked ATTR_KILL_PRIV* affects the security markings

函数原型:int cap_inode_need_killpriv(struct dentry *dentry)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
297  inode等于d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper
300  error等于__vfs_getxattr(dentry, inode, XATTR_NAME_CAPS, NULL, 0)
301  返回:error大于0