/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
D | ldso_dlopen_ext_test.cpp | 64 …void* addr = mmap(nullptr, SIZE_1024_SQUARE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE… 92 void* addr = mmap(nullptr, SIZE_128, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE, 0); 111 …void* addr = mmap(nullptr, SIZE_1024_SQUARE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE… 142 …void* addr = mmap(nullptr, SIZE_1024_SQUARE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE… 182 void* addr = mmap(nullptr, SIZE_128, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE, 0); 287 …void* addr = mmap(nullptr, SIZE_1024_SQUARE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE… 323 …void* addr = mmap(nullptr, SIZE_1024_SQUARE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE… 358 …void* addr = mmap(nullptr, SIZE_1024_SQUARE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE… 394 void* addr = mmap(nullptr, SIZE_128, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, INVALID_VALUE, 0);
|
/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/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/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/node/test/cctest/ |
D | test_crypto_clienthello.cc | 21 #if defined(_SC_PAGE_SIZE) && defined(PROT_NONE) && defined(PROT_READ) && \ 60 CHECK_EQ(mprotect(second_page, page, PROT_NONE), 0); in OverrunGuardedBuffer()
|
/third_party/curl/lib/ |
D | krb5.c | 97 DEBUGASSERT(data_sec > PROT_NONE && data_sec < PROT_LAST); in ftpsend() 403 return PROT_NONE; in name_to_level() 604 DEBUGASSERT(prot_level > PROT_NONE && prot_level < PROT_LAST); in do_sec_send() 693 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in Curl_sec_read_msg() 738 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in sec_set_protection_level() 796 if(l == PROT_NONE) in Curl_sec_request_prot() 798 DEBUGASSERT(l > PROT_NONE && l < PROT_LAST); in Curl_sec_request_prot()
|
/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/musl/libc-test/src/functionalext/supplement/mman/mman_gtest/ |
D | mman_mmap_test.cpp | 97 void* mmapping = mmap(nullptr, sb.st_size, PROT_NONE, MAP_PRIVATE | MAP_FIXED, -1, 0); 153 …EXPECT_EQ(MAP_FAILED, mmap(nullptr, (PTRDIFF_MAX) + 1, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1,…
|
/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/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()
|