Home
last modified time | relevance | path

Searched refs:PROT_NONE (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/relro/
Ddlopen_ext_relro_test.c418 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/
D5-1.c43 {.flags = MAP_SHARED,.prot = PROT_NONE},
52 {.flags = MAP_PRIVATE,.prot = PROT_NONE},
66 if (t->prot == PROT_NONE) in print_error()
D6-3.c68 pa = mmap(NULL, size, PROT_NONE, MAP_SHARED, fd, 0); in main()
D6-2.c75 pa = mmap(NULL, size, PROT_NONE, MAP_SHARED, fd, 0); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/
D2-4-buildonly.c19 #ifndef PROT_NONE
20 #error PROT_NONE not defined
/third_party/musl/libc-test/src/common/
Dvmfill.c21 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/
Dwritev06.c164 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/
Dmman.c24 if (prot == PROT_NONE) { in __map_mmap_prot_page()
37 if (prot == PROT_NONE) { in __map_mmap_prot_file()
Dmman.h42 #define PROT_NONE 0 macro
/third_party/mesa3d/include/android_stub/backtrace/
DBacktraceMap.h24 #define PROT_NONE 0 macro
132 return PROT_NONE; in GetFlags()
/third_party/rust/crates/rustix/tests/mm/
Dprot.rs3 assert_eq!(libc::PROT_NONE, 0); in test_prot_flags()
/third_party/ltp/lib/
Dtst_get_bad_addr.c26 bad_addr = mmap(0, 1, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in tst_get_bad_addr()
/third_party/libunwind/include/mingw/sys/
Dmman.h17 #define PROT_NONE 0 macro
/third_party/ltp/tools/sparse/sparse-src/compat/
Dmmap-blob.c35 mprotect(addr, size, PROT_NONE); in blob_free()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise05.c31 TEST(mprotect(p, ALLOC_SIZE, PROT_NONE)); in verify_madvise()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D20-3.c52 ptr = mmap(NULL, BUF_SIZE, PROT_NONE, MAP_SHARED, fd, 0); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
D2-1.c44 map_addr = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE, fd, 0); in main()
/third_party/ltp/testcases/kernel/syscalls/write/
Dwrite03.c58 bad_addr = SAFE_MMAP(0, 1, PROT_NONE, in setup()
Dwrite05.c85 bad_addr = SAFE_MMAP(0, 1, PROT_NONE, in setup()
/third_party/ltp/testcases/kernel/mem/thp/
Dthp03.c57 if (mprotect(p, unaligned_size, PROT_NONE) == -1) in thp_test()
/third_party/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile04.c32 {PROT_NONE, 0, "pass_mapped_buffer"},
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dmmap-ring-buffer.c90 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/
Dmprotect.c71 int ret = mprotect(buffer, getpagesize(), PROT_NONE); in mprotect_0400()
/third_party/ltp/testcases/kernel/syscalls/rename/
Drename08.c169 bad_addr = mmap(0, 1, PROT_NONE, in setup()
/third_party/musl/libc-test/src/api/
Dsys_mman.c13 C(PROT_NONE) in f()

1234