/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create01.c | 223 {MFD_ALLOW_SEALING, &test_basic, "Basic tests + set/get seals"}, 226 {MFD_ALLOW_SEALING, &test_seal_write, "Write seal"}, 227 {MFD_ALLOW_SEALING, &test_seal_shrink, "Shrink seal"}, 228 {MFD_ALLOW_SEALING, &test_seal_grow, "Grow seal"}, 229 {MFD_ALLOW_SEALING, &test_seal_resize, "Resize seal"}, 231 {MFD_ALLOW_SEALING, &test_share_dup, "Seals shared for dup"}, 232 {MFD_ALLOW_SEALING, &test_share_mmap, "Seals shared for mmap"}, 233 {MFD_ALLOW_SEALING, &test_share_open, "Seals shared for open"}, 260 if (!MFD_FLAGS_AVAILABLE(MFD_ALLOW_SEALING)) { in setup() 262 "memfd_create(%u) not implemented", MFD_ALLOW_SEALING); in setup()
|
D | memfd_create02.c | 44 {"invalid flags fail 4", "test", ~MFD_ALLOW_SEALING, EINVAL }, 49 {"valid flags 2 pass", "test", MFD_ALLOW_SEALING, 0 }, 50 {"valid flags 3 pass", "test", MFD_CLOEXEC | MFD_ALLOW_SEALING, 0 },
|
D | memfd_create_common.h | 24 #define FLAGS_ALL_ARRAY_INITIALIZER {MFD_CLOEXEC, MFD_ALLOW_SEALING} 25 #define FLAGS_ALL_MASK (MFD_CLOEXEC | MFD_ALLOW_SEALING)
|
/external/strace/xlat/ |
D | memfd_create_flags.h | 13 #if defined(MFD_ALLOW_SEALING) || (defined(HAVE_DECL_MFD_ALLOW_SEALING) && HAVE_DECL_MFD_ALLOW_SEAL… 15 static_assert((MFD_ALLOW_SEALING) == (2), "MFD_ALLOW_SEALING != 2"); 18 # define MFD_ALLOW_SEALING 2 39 XLAT(MFD_ALLOW_SEALING),
|
D | memfd_create_flags.in | 2 MFD_ALLOW_SEALING 2
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 670 mfd_fail_new("", ~MFD_ALLOW_SEALING); in test_create() 679 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING); in test_create() 683 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create() 699 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic() 751 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write() 778 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write() 817 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink() 843 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow() 869 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize() 895 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_share_dup() [all …]
|
/external/ltp/include/lapi/ |
D | memfd.h | 13 #ifndef MFD_ALLOW_SEALING 14 # define MFD_ALLOW_SEALING 0x0002U macro
|
/external/virglrenderer/vtest/ |
D | vtest_shm.h | 22 #ifndef MFD_ALLOW_SEALING 23 #define MFD_ALLOW_SEALING 0x0002U macro
|
D | vtest_shm.c | 54 fd = memfd_create(str, MFD_ALLOW_SEALING); in vtest_new_shm() 71 int mfd = memfd_create("test", MFD_ALLOW_SEALING); in vtest_shm_check()
|
/external/virglrenderer/src/mesa/util/ |
D | anon_file.c | 121 fd = memfd_create(debug_name, MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file() 125 fd = syscall(SYS_memfd_create, debug_name, MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file()
|
/external/perfetto/src/tracing/ipc/ |
D | memfd.h | 30 #define MFD_ALLOW_SEALING 0x0002U macro
|
D | memfd.cc | 67 MFD_CLOEXEC | MFD_ALLOW_SEALING))); in HasMemfdSupport()
|
D | posix_shared_memory.cc | 50 CreateMemfd("perfetto_shmem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in Create()
|
/external/kernel-headers/original/uapi/linux/ |
D | memfd.h | 9 #define MFD_ALLOW_SEALING 0x0002U macro
|
/external/rust/crates/nix/src/sys/ |
D | memfd.rs | 31 MFD_ALLOW_SEALING;
|
/external/wayland/cursor/ |
D | os-compatibility.c | 124 fd = memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file()
|
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/unix/ |
D | shm.rs | 40 MemFdCreateFlag::MFD_CLOEXEC | MemFdCreateFlag::MFD_ALLOW_SEALING, in new()
|
/external/musl/include/sys/ |
D | mman.h | 110 #define MFD_ALLOW_SEALING 0x0002U macro
|
/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 39 memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING); in main()
|
/external/crosvm/base/src/sys/unix/ |
D | shm.rs | 31 use libc::MFD_ALLOW_SEALING; 151 let fd = unsafe { memfd_create(shm_name, MFD_CLOEXEC | MFD_ALLOW_SEALING) }; in new()
|
/external/crosvm/tests/ |
D | mini_plugin_template.c | 100 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
D | plugin_dirty_log.c | 112 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
D | plugin_ioevent.c | 135 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
/external/crosvm/jail/seccomp/arm/ |
D | gpu_common.policy | 87 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
|
/external/crosvm/jail/seccomp/aarch64/ |
D | gpu_common.policy | 78 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
|