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.c850 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
859 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create()
867 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create()
883 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
914 MFD_CLOEXEC); in test_basic()
935 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
962 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write()
1001 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
1027 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
1053 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
[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.c64 unsigned int flags = MFD_CLOEXEC; in qemu_memfd_create()
202 int mfd = memfd_create("test", flags | MFD_CLOEXEC); in qemu_memfd_check()
/openbmc/linux/include/uapi/linux/
H A Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/openbmc/qemu/linux-headers/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.c3725 fd = memfd_create("name", MFD_CLOEXEC); in TEST()