Home
last modified time | relevance | path

Searched refs:MFD_CLOEXEC (Results 1 – 25 of 45) 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 …]
/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.cc48 CreateMemfd("perfetto_shmem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in Create()
/external/ltp/include/lapi/
Dmemfd.h10 #ifndef MFD_CLOEXEC
11 # define MFD_CLOEXEC 0x0001U macro
/external/virglrenderer/vtest/
Dvtest_shm.h18 #ifndef MFD_CLOEXEC
19 #define MFD_CLOEXEC 0x0001U macro
/external/crosvm/seccomp/x86_64/
Dgpu_common.policy71 # arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING or simply MFD_CLOEXEC.
Dwl_device.policy12 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
/external/kernel-headers/original/uapi/linux/
Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/external/rust/crates/nix/src/sys/
Dmemfd.rs23 MFD_CLOEXEC;
/external/crosvm/seccomp/aarch64/
Dwl_device.policy13 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
/external/crosvm/seccomp/arm/
Dwl_device.policy14 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
Dgpu_common.policy78 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
/external/wayland/cursor/
Dos-compatibility.c124 fd = memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file()
/external/mesa3d/src/util/
Danon_file.c129 fd = syscall(SYS_memfd_create, debug_name, MFD_CLOEXEC); in os_create_anonymous_file()
/external/musl/include/sys/
Dmman.h109 #define MFD_CLOEXEC 0x0001U macro
/external/crosvm/common/sys_util/src/
Dshm.rs32 const MFD_CLOEXEC: c_uint = 0x0001; constant
145 let fd = unsafe { memfd_create(shm_name, MFD_CLOEXEC | MFD_ALLOW_SEALING) }; in new()
/external/crosvm/base/src/unix/
Dshm.rs33 const MFD_CLOEXEC: c_uint = 0x0001; constant
146 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()

12