Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemfd.c269 #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()
281 *flags |= MFD_EXEC; 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()
/openbmc/qemu/linux-headers/linux/
H A Dmemfd.h14 #define MFD_EXEC 0x0010U macro
/openbmc/linux/include/uapi/linux/
H A Dmemfd.h14 #define MFD_EXEC 0x0010U macro
/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c855 mfd_fail_new("", MFD_EXEC | MFD_NOEXEC_SEAL); in test_create()
1080 MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_EXEC); in test_exec_seal()
1102 MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_EXEC); in test_exec_seal()
1130 MFD_CLOEXEC | MFD_EXEC); in test_exec_no_seal()
1202 MFD_CLOEXEC | MFD_EXEC | MFD_ALLOW_SEALING); in test_sysctl_sysctl1()
1238 MFD_CLOEXEC | MFD_EXEC | MFD_ALLOW_SEALING); in test_sysctl_sysctl2()