Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c849 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
882 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
913 MFD_CLOEXEC); in test_basic()
934 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
961 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write()
1000 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
1026 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
1052 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
1130 MFD_CLOEXEC | MFD_EXEC); in test_exec_no_seal()
1158 MFD_CLOEXEC | MFD_NOEXEC_SEAL); in test_noexec_seal()
[all …]
H A Dfuse_test.c271 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/openbmc/qemu/include/qemu/
H A Dmemfd.h19 #ifndef MFD_CLOEXEC
20 #define MFD_CLOEXEC 0x0001U macro
/openbmc/qemu/util/
H A Dmemfd.c63 unsigned int flags = MFD_CLOEXEC; in qemu_memfd_create()
197 int mfd = memfd_create("test", flags | MFD_CLOEXEC); in qemu_memfd_check()
/openbmc/qemu/linux-headers/linux/
H A Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/openbmc/linux/include/uapi/linux/
H A Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/openbmc/linux/mm/
H A Dmemfd.c269 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)
351 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
/openbmc/linux/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c132 int mem_fd = memfd_create("memfd", MFD_CLOEXEC); in mremap_dontunmap_simple_shmem()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c738 int memfd_flags = MFD_CLOEXEC; in kvm_memfd_alloc()
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c3726 fd = memfd_create("name", MFD_CLOEXEC); in TEST()