Home
last modified time | relevance | path

Searched refs:vcaps (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/security/
Dcommoncap.c675 struct cpu_vfs_cap_data vcaps; in get_file_caps() local
693 rc = get_vfs_caps_from_disk(file->f_path.dentry, &vcaps); in get_file_caps()
703 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
/kernel/linux/linux-5.10/kernel/
Dauditsc.c2540 struct cpu_vfs_cap_data vcaps; in __audit_log_bprm_fcaps() local
2550 get_vfs_caps_from_disk(bprm->file->f_path.dentry, &vcaps); in __audit_log_bprm_fcaps()
2552 ax->fcap.permitted = vcaps.permitted; in __audit_log_bprm_fcaps()
2553 ax->fcap.inheritable = vcaps.inheritable; in __audit_log_bprm_fcaps()
2554 ax->fcap.fE = !!(vcaps.magic_etc & VFS_CAP_FLAGS_EFFECTIVE); in __audit_log_bprm_fcaps()
2555 ax->fcap.rootid = vcaps.rootid; in __audit_log_bprm_fcaps()
2556 ax->fcap_ver = (vcaps.magic_etc & VFS_CAP_REVISION_MASK) >> VFS_CAP_REVISION_SHIFT; in __audit_log_bprm_fcaps()