Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/
Dcommoncap.c374 u32 nsmagic, magic; in cap_inode_getsecurity() local
426 nsmagic = VFS_CAP_REVISION_3; in cap_inode_getsecurity()
429 nsmagic |= VFS_CAP_FLAGS_EFFECTIVE; in cap_inode_getsecurity()
431 nscap->magic_etc = cpu_to_le32(nsmagic); in cap_inode_getsecurity()
458 nsmagic = le32_to_cpu(nscap->magic_etc); in cap_inode_getsecurity()
459 if (nsmagic & VFS_CAP_FLAGS_EFFECTIVE) in cap_inode_getsecurity()
502 __u32 magic, nsmagic; in cap_convert_nscap() local
533 nsmagic = VFS_CAP_REVISION_3; in cap_convert_nscap()
536 nsmagic |= VFS_CAP_FLAGS_EFFECTIVE; in cap_convert_nscap()
537 nscap->magic_etc = cpu_to_le32(nsmagic); in cap_convert_nscap()