Searched refs:MFD_CLOEXEC (Results 1 – 10 of 10) sorted by relevance
879 mfd_fail_new("", ~MFD_CLOEXEC); in test_create() 887 /* verify MFD_CLOEXEC is allowed */ in test_create() 888 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create() 895 /* verify MFD_ALLOW_SEALING | MFD_CLOEXEC is allowed */ in test_create() 896 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create() 912 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic() 943 MFD_CLOEXEC); in test_basic() 964 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write() 991 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write() 1027 MFD_CLOEXEC | MFD_ALLOW_SEALIN in test_seal_write_map_read_shared() [all...]
271 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
8 #define MFD_CLOEXEC 0x0001U macro
342 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)521 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()
154 self->memfd = memfd_create("test-exec-probe", MFD_CLOEXEC); in FIXTURE_SETUP()
370 MFD_EXEC | MFD_CLOEXEC | MFD_ALLOW_SEALING); in init_stub_exe_fd()
853 int memfd_flags = MFD_CLOEXEC; in kvm_memfd_alloc()
1766 #ifndef MFD_CLOEXEC1767 #define MFD_CLOEXEC 0x0001U1775 unsigned int flags = MFD_CLOEXEC | MFD_NOEXEC_SEAL; in create_placeholder_fd() 1762 #define MFD_CLOEXEC global() macro
3902 fd = memfd_create("name", MFD_CLOEXEC); in TEST_F_FORK()