Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/memfd/
H A Dmemfd_test.c862 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
895 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
926 MFD_CLOEXEC); in test_basic()
947 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
974 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write()
1010 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write_map_read_shared()
1037 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
1063 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
1089 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
1167 MFD_CLOEXEC | MFD_EXEC); in test_exec_no_seal()
[all …]
H A Dfuse_test.c271 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/linux-6.15/tools/include/uapi/linux/
H A Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/linux-6.15/include/uapi/linux/
H A Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/linux-6.15/mm/
H A Dmemfd.c305 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)
474 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
/linux-6.15/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c133 int mem_fd = memfd_create("memfd", MFD_CLOEXEC); in mremap_dontunmap_simple_shmem()
/linux-6.15/tools/testing/selftests/exec/
H A Dcheck-exec.c154 self->memfd = memfd_create("test-exec-probe", MFD_CLOEXEC); in FIXTURE_SETUP()
/linux-6.15/arch/um/os-Linux/skas/
H A Dprocess.c259 MFD_EXEC | MFD_CLOEXEC | MFD_ALLOW_SEALING); in init_stub_exe_fd()
/linux-6.15/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c829 int memfd_flags = MFD_CLOEXEC; in kvm_memfd_alloc()
/linux-6.15/tools/lib/bpf/
H A Dlibbpf.c1737 #ifndef MFD_CLOEXEC
1738 #define MFD_CLOEXEC 0x0001U macro
1746 unsigned int flags = MFD_CLOEXEC | MFD_NOEXEC_SEAL; in create_placeholder_fd()
/linux-6.15/tools/testing/selftests/landlock/
H A Dfs_test.c4078 fd = memfd_create("name", MFD_CLOEXEC); in TEST()