函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-27 12:31:18
Last Modify:2020-03-17 16:31:21 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:audit_copy_fcaps

函数原型:static inline int audit_copy_fcaps(struct audit_names *name, const struct dentry *dentry)

返回类型:int

参数:

类型参数名称
struct audit_names *name
const struct dentry *dentry
1902  如果非dentry则返回:0
1905  rc等于Extract the on-exec-apply capability sets for an executable file.
1906  如果rc则返回:rc
1909  permitted等于permitted
1910  inheritable等于inheritable
1911  effective bit of file cap 等于非非magic_etc按位与VFS_CAP_FLAGS_EFFECTIVE的值
1912  rootid等于rootid
1913  fcap_ver等于magic_etc按位与VFS_CAP_REVISION_MASK的值右移VFS_CAP_REVISION_SHIFT
1916  返回:0
调用者
名称描述
audit_copy_inodeCopy inode data into an audit_names.