Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/memfd/
Dmemfd_test.c669 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
675 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create()
683 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create()
699 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
730 MFD_CLOEXEC); in test_basic()
751 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
778 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write()
817 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
843 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
869 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
[all …]
Dfuse_test.c270 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/linux-6.1.9/include/uapi/linux/
Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/linux-6.1.9/mm/
Dmemfd.c264 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB)
309 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
/linux-6.1.9/tools/testing/selftests/vm/
Dmremap_dontunmap.c135 int mem_fd = memfd_create("memfd", MFD_CLOEXEC); in mremap_dontunmap_simple_shmem()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c627 int memfd_flags = MFD_CLOEXEC; in kvm_memfd_alloc()