Searched refs:MFD_NOEXEC_SEAL (Results 1 – 3 of 3) sorted by relevance
269 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)277 if (!(*flags & (MFD_EXEC | MFD_NOEXEC_SEAL))) { in check_sysctl_memfd_noexec()279 *flags |= MFD_NOEXEC_SEAL; in check_sysctl_memfd_noexec()284 if (!(*flags & MFD_NOEXEC_SEAL) && sysctl >= MEMFD_NOEXEC_SCOPE_NOEXEC_ENFORCED) { in check_sysctl_memfd_noexec()315 if ((flags & MFD_EXEC) && (flags & MFD_NOEXEC_SEAL)) in SYSCALL_DEFINE2()318 if (!(flags & (MFD_EXEC | MFD_NOEXEC_SEAL))) { in SYSCALL_DEFINE2()371 if (flags & MFD_NOEXEC_SEAL) { in SYSCALL_DEFINE2()
12 #define MFD_NOEXEC_SEAL 0x0008U macro
40 #define MFD_NOEXEC_SEAL 0x0008U macro855 mfd_fail_new("", MFD_EXEC | MFD_NOEXEC_SEAL); in test_create()1149 MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_NOEXEC_SEAL); in test_noexec_seal()1158 MFD_CLOEXEC | MFD_NOEXEC_SEAL); in test_noexec_seal()1210 MFD_CLOEXEC | MFD_NOEXEC_SEAL | MFD_ALLOW_SEALING); in test_sysctl_sysctl1()1242 MFD_CLOEXEC | MFD_NOEXEC_SEAL | MFD_ALLOW_SEALING); in test_sysctl_sysctl2()