Searched refs:MFD_NOEXEC_SEAL (Results 1 – 6 of 6) sorted by relevance
40 ``MFD_NOEXEC_SEAL``41 When MFD_NOEXEC_SEAL bit is set in the ``flags``, memfd is created50 ``MFD_NOEXEC_SEAL`` implies ``MFD_ALLOW_SEALING``. In case that61 memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL acts like65 memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL acts like66 MFD_NOEXEC_SEAL was set.69 memfd_create() without MFD_NOEXEC_SEAL will be rejected.
305 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)313 if (!(*flags & (MFD_EXEC | MFD_NOEXEC_SEAL))) { in check_sysctl_memfd_noexec()315 *flags |= MFD_NOEXEC_SEAL; in check_sysctl_memfd_noexec()320 if (!(*flags & MFD_NOEXEC_SEAL) && sysctl >= MEMFD_NOEXEC_SCOPE_NOEXEC_ENFORCED) { in check_sysctl_memfd_noexec()351 if ((flags & MFD_EXEC) && (flags & MFD_NOEXEC_SEAL)) in SYSCALL_DEFINE2()401 if (flags & MFD_NOEXEC_SEAL) { in SYSCALL_DEFINE2()
12 #define MFD_NOEXEC_SEAL 0x0008U macro
40 #define MFD_NOEXEC_SEAL 0x0008U macro849 mfd_fail_new("", MFD_EXEC | MFD_NOEXEC_SEAL); in test_create()1143 MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_NOEXEC_SEAL); in test_noexec_seal()1152 MFD_CLOEXEC | MFD_NOEXEC_SEAL); in test_noexec_seal()1204 MFD_CLOEXEC | MFD_NOEXEC_SEAL | MFD_ALLOW_SEALING); in test_sysctl_sysctl1()1236 MFD_CLOEXEC | MFD_NOEXEC_SEAL | MFD_ALLOW_SEALING); in test_sysctl_sysctl2()
1569 fd = memfd_create("uffd-test", MFD_HUGETLB | MFD_NOEXEC_SEAL); in main()1618 fd = memfd_create(__FILE__".tmp00", MFD_NOEXEC_SEAL); in main()