Home
last modified time | relevance | path

Searched refs:magic_etc (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/security/
Dcommoncap.c359 return sansflags(le32_to_cpu(cap->magic_etc)) == VFS_CAP_REVISION_2; in is_v2header()
366 return sansflags(le32_to_cpu(cap->magic_etc)) == VFS_CAP_REVISION_3; in is_v3header()
439 magic = le32_to_cpu(cap->magic_etc); in cap_inode_getsecurity()
443 nscap->magic_etc = cpu_to_le32(nsmagic); in cap_inode_getsecurity()
470 nsmagic = le32_to_cpu(nscap->magic_etc); in cap_inode_getsecurity()
474 cap->magic_etc = cpu_to_le32(magic); in cap_inode_getsecurity()
572 magic = le32_to_cpu(cap->magic_etc); in cap_convert_nscap()
575 nscap->magic_etc = cpu_to_le32(nsmagic); in cap_convert_nscap()
594 if (caps->magic_etc & VFS_CAP_FLAGS_EFFECTIVE) in bprm_caps_from_vfs_caps()
597 if (caps->magic_etc & VFS_CAP_REVISION_MASK) in bprm_caps_from_vfs_caps()
[all …]
/linux-6.6.21/include/uapi/linux/
Dcapability.h74 __le32 magic_etc; /* Little endian */ member
85 __le32 magic_etc; member
/linux-6.6.21/include/linux/
Dcapability.h28 __u32 magic_etc; member
/linux-6.6.21/kernel/
Dauditsc.c2262 name->fcap.fE = !!(caps.magic_etc & VFS_CAP_FLAGS_EFFECTIVE); in audit_copy_fcaps()
2264 name->fcap_ver = (caps.magic_etc & VFS_CAP_REVISION_MASK) >> in audit_copy_fcaps()
2818 ax->fcap.fE = !!(vcaps.magic_etc & VFS_CAP_FLAGS_EFFECTIVE); in __audit_log_bprm_fcaps()
2820 ax->fcap_ver = (vcaps.magic_etc & VFS_CAP_REVISION_MASK) >> VFS_CAP_REVISION_SHIFT; in __audit_log_bprm_fcaps()