Searched refs:MFD_CLOEXEC (Results 1 – 8 of 8) sorted by relevance
843 mfd_fail_new("", ~MFD_CLOEXEC); in test_create() 851 /* verify MFD_CLOEXEC is allowed */ in test_create() 852 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create() 859 /* verify MFD_ALLOW_SEALING | MFD_CLOEXEC is allowed */ in test_create() 860 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create() 876 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic() 907 MFD_CLOEXEC); in test_basic() 928 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write() 955 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write() 994 MFD_CLOEXEC | MFD_ALLOW_SEALIN in test_seal_shrink() [all...]
271 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
8 #define MFD_CLOEXEC 0x0001U macro
303 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)379 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
133 int mem_fd = memfd_create("memfd", MFD_CLOEXEC); in mremap_dontunmap_simple_shmem()
779 int memfd_flags = MFD_CLOEXEC; in kvm_memfd_alloc()
1711 #ifndef MFD_CLOEXEC1712 #define MFD_CLOEXEC 0x0001U macro1719 fd = ensure_good_fd(sys_memfd_create("libbpf-placeholder-fd", MFD_CLOEXEC)); in create_placeholder_fd()
3924 fd = memfd_create("name", MFD_CLOEXEC); in TEST()