/third_party/musl/libc-test/src/functionalext/relro/ |
D | dlopen_ext_relro_test.c | 418 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1600() 455 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1700() 492 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1800() 529 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1900() 564 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2000() 601 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2100() 639 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2200() 678 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2300() 716 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2400()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 5-1.c | 43 {.flags = MAP_SHARED,.prot = PROT_NONE}, 52 {.flags = MAP_PRIVATE,.prot = PROT_NONE}, 66 if (t->prot == PROT_NONE) in print_error()
|
D | 6-3.c | 68 pa = mmap(NULL, size, PROT_NONE, MAP_SHARED, fd, 0); in main()
|
D | 6-2.c | 75 pa = mmap(NULL, size, PROT_NONE, MAP_SHARED, fd, 0); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 2-4-buildonly.c | 19 #ifndef PROT_NONE 20 #error PROT_NONE not defined
|
/third_party/musl/libc-test/src/common/ |
D | vmfill.c | 21 if ((p=mmap(0, n, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, fd, 0)) == MAP_FAILED) { in mmax() 50 q = mmap(0, m, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, fd, 0); in t_vmfill()
|
/third_party/ltp/testcases/kernel/syscalls/writev/ |
D | writev06.c | 164 bad_addr[0] = mmap(NULL, page_size * 3, PROT_NONE, in setup() 174 bad_addr[1] = mmap(NULL, page_size * 3, PROT_NONE, in setup()
|
/third_party/iowow/src/platform/win32/mman/ |
D | mman.c | 24 if (prot == PROT_NONE) { in __map_mmap_prot_page() 37 if (prot == PROT_NONE) { in __map_mmap_prot_file()
|
D | mman.h | 42 #define PROT_NONE 0 macro
|
/third_party/mesa3d/include/android_stub/backtrace/ |
D | BacktraceMap.h | 24 #define PROT_NONE 0 macro 132 return PROT_NONE; in GetFlags()
|
/third_party/rust/crates/rustix/tests/mm/ |
D | prot.rs | 3 assert_eq!(libc::PROT_NONE, 0); in test_prot_flags()
|
/third_party/ltp/lib/ |
D | tst_get_bad_addr.c | 26 bad_addr = mmap(0, 1, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in tst_get_bad_addr()
|
/third_party/libunwind/include/mingw/sys/ |
D | mman.h | 17 #define PROT_NONE 0 macro
|
/third_party/ltp/tools/sparse/sparse-src/compat/ |
D | mmap-blob.c | 35 mprotect(addr, size, PROT_NONE); in blob_free()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise05.c | 31 TEST(mprotect(p, ALLOC_SIZE, PROT_NONE)); in verify_madvise()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 20-3.c | 52 ptr = mmap(NULL, BUF_SIZE, PROT_NONE, MAP_SHARED, fd, 0); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
D | 2-1.c | 44 map_addr = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE, fd, 0); in main()
|
/third_party/ltp/testcases/kernel/syscalls/write/ |
D | write03.c | 58 bad_addr = SAFE_MMAP(0, 1, PROT_NONE, in setup()
|
D | write05.c | 85 bad_addr = SAFE_MMAP(0, 1, PROT_NONE, in setup()
|
/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp03.c | 57 if (mprotect(p, unaligned_size, PROT_NONE) == -1) in thp_test()
|
/third_party/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile04.c | 32 {PROT_NONE, 0, "pass_mapped_buffer"},
|
/third_party/flutter/skia/third_party/externals/wuffs/script/ |
D | mmap-ring-buffer.c | 90 void* base = mmap(NULL, 3 * N, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in make_ring_buffer()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
D | mprotect.c | 71 int ret = mprotect(buffer, getpagesize(), PROT_NONE); in mprotect_0400()
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename08.c | 169 bad_addr = mmap(0, 1, PROT_NONE, in setup()
|
/third_party/musl/libc-test/src/api/ |
D | sys_mman.c | 13 C(PROT_NONE) in f()
|