Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-28 11:28:00
Last Modify:2020-03-17 16:31:21 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:audit_copy_fcaps

Proto:static inline int audit_copy_fcaps(struct audit_names *name, const struct dentry *dentry)

Type:int

Parameter:

TypeParameterName
struct audit_names *name
const struct dentry *dentry
1902  If Not dentry Then Return 0
1905  rc = Extract the on-exec-apply capability sets for an executable file.
1906  If rc Then Return rc
1909  permitted = permitted
1910  inheritable = inheritable
1911  effective bit of file cap = Not Not (magic_etc & VFS_CAP_FLAGS_EFFECTIVE)
1912  rootid = rootid
1913  fcap_ver = (magic_etc & VFS_CAP_REVISION_MASK) >> VFS_CAP_REVISION_SHIFT
1916  Return 0
Caller
NameDescribe
audit_copy_inodeCopy inode data into an audit_names.