Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dmemfd_create_flags.h6 #if defined(MFD_CLOEXEC) || (defined(HAVE_DECL_MFD_CLOEXEC) && HAVE_DECL_MFD_CLOEXEC)
8 static_assert((MFD_CLOEXEC) == (1), "MFD_CLOEXEC != 1");
11 # define MFD_CLOEXEC 1
38 XLAT(MFD_CLOEXEC),
Dmemfd_create_flags.in1 MFD_CLOEXEC 1
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c668 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
674 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create()
682 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create()
698 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
729 MFD_CLOEXEC); in test_basic()
750 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
777 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write()
816 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
842 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
868 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
[all …]
Dfuse_test.c270 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create02.c43 {"invalid flags fail 3", "test", ~MFD_CLOEXEC, EINVAL },
48 {"valid flags 1 pass", "test", MFD_CLOEXEC, 0 },
50 {"valid flags 3 pass", "test", MFD_CLOEXEC | MFD_ALLOW_SEALING, 0 },
Dmemfd_create_common.h24 #define FLAGS_ALL_ARRAY_INITIALIZER {MFD_CLOEXEC, MFD_ALLOW_SEALING}
25 #define FLAGS_ALL_MASK (MFD_CLOEXEC | MFD_ALLOW_SEALING)
/external/swiftshader/src/System/Linux/
DMemFd.cpp24 #ifndef MFD_CLOEXEC
25 # define MFD_CLOEXEC 0x0001U macro
72 fd_ = syscall(__NR_memfd_create, name, MFD_CLOEXEC); in allocate()
/external/perfetto/src/tracing/ipc/
Dmemfd.h28 #ifndef MFD_CLOEXEC
29 #define MFD_CLOEXEC 0x0001U macro
Dmemfd.cc67 MFD_CLOEXEC | MFD_ALLOW_SEALING))); in HasMemfdSupport()
Dposix_shared_memory.cc44 CreateMemfd("perfetto_shmem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in Create()
/external/ltp/include/lapi/
Dmemfd.h20 #ifndef MFD_CLOEXEC
21 # define MFD_CLOEXEC 0x0001U macro
/external/kernel-headers/original/uapi/linux/
Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/external/honggfuzz/libhfcommon/
Dfiles.c401 #if !defined(MFD_CLOEXEC) /* sys/memfd.h is not always present */ in files_mapSharedMem()
402 #define MFD_CLOEXEC 0x0001U in files_mapSharedMem() macro
412 *fd = syscall(__NR_memfd_create, name, (uintptr_t)MFD_CLOEXEC); in files_mapSharedMem()
/external/crosvm/seccomp/arm/
Dwl_device.policy15 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
/external/crosvm/seccomp/x86_64/
Dwl_device.policy15 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
Dgpu_device.policy56 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
/external/mesa3d/src/util/
Danon_file.c129 fd = syscall(SYS_memfd_create, debug_name, MFD_CLOEXEC); in os_create_anonymous_file()
/external/crosvm/sys_util/src/
Dshm.rs25 const MFD_CLOEXEC: c_uint = 0x0001; constant
112 let fd = unsafe { memfd_create(shm_name, MFD_CLOEXEC | MFD_ALLOW_SEALING) }; in new()
/external/crosvm/tests/
Dmini_plugin_template.c100 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
Dplugin_dirty_log.c112 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
Dplugin_ioevent.c135 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
Dplugin_irqfd.c156 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
Dplugin_adder.c152 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
Dplugin_vcpu_pause.c173 "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/external/mesa3d/src/drm-shim/
Ddevice.c85 shim_device.mem_fd = memfd_create("shim mem", MFD_CLOEXEC); in drm_shim_device_init()

12