Searched refs:MFD_CLOEXEC (Results 1 - 8 of 8) sorted by relevance

/linux-master/include/uapi/linux/
H A Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/linux-master/tools/testing/selftests/memfd/
H A Dmemfd_test.c843 mfd_fail_new("", ~MFD_CLOEXEC);
851 /* verify MFD_CLOEXEC is allowed */
852 fd = mfd_assert_new("", 0, MFD_CLOEXEC);
859 /* verify MFD_ALLOW_SEALING | MFD_CLOEXEC is allowed */
860 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC);
876 MFD_CLOEXEC | MFD_ALLOW_SEALING);
907 MFD_CLOEXEC);
928 MFD_CLOEXEC | MFD_ALLOW_SEALING);
955 MFD_CLOEXEC | MFD_ALLOW_SEALING);
994 MFD_CLOEXEC | MFD_ALLOW_SEALIN
[all...]
H A Dfuse_test.c271 MFD_CLOEXEC | MFD_ALLOW_SEALING);
/linux-master/mm/
H A Dmemfd.c258 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)
334 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0);
/linux-master/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c133 int mem_fd = memfd_create("memfd", MFD_CLOEXEC);
/linux-master/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c770 int memfd_flags = MFD_CLOEXEC;
/linux-master/tools/testing/selftests/landlock/
H A Dfs_test.c3837 fd = memfd_create("name", MFD_CLOEXEC);
/linux-master/tools/lib/bpf/
H A Dlibbpf.c1653 #ifndef MFD_CLOEXEC
1654 #define MFD_CLOEXEC 0x0001U macro
1661 fd = ensure_good_fd(sys_memfd_create("libbpf-placeholder-fd", MFD_CLOEXEC));

Completed in 252 milliseconds