/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_posix_test.cc | 67 mprotect((void *)(mem + page_size), page_size, PROT_NONE);
|
/src/tests/lib/libc/string/ |
t_memmem.c | 112 PROT_NONE, MAP_ANON|MAP_PRIVATE|MAP_FIXED, -1, (off_t)0);
|
/src/sys/sys/ |
mman.h | 62 #define PROT_NONE 0x00 /* no permissions */
|
/src/usr.bin/fincore/ |
fincore.c | 92 vp = mmap(NULL, chunk_size, PROT_NONE, MAP_FILE|MAP_SHARED,
|
/src/lib/libpuffs/ |
callcontext.c | 205 mprotect((uint8_t *)sp + psize, (size_t)psize, PROT_NONE); 207 mprotect((uint8_t *)sp + stacksize - psize, (size_t)psize, PROT_NONE);
|
/src/tests/lib/libc/sys/ |
t_mlock.c | 250 * But it should be impossible to mlock(2) a PROT_NONE mapping. 252 buf = mmap(NULL, page, PROT_NONE, flags, -1, 0); 257 " [%d] %s\n", page, PROT_NONE, flags, errno,
|
t_write.c | 234 void *map = mmap(NULL, SIZE, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); 260 void *map = mmap(NULL, SIZE, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0);
|
t_mprotect.c | 86 int prot[2] = { PROT_NONE, PROT_READ }; 96 * a PROT_NONE or PROT_READ file/section as PROT_WRITE. 227 const int prot[4] = { PROT_NONE, PROT_READ, PROT_WRITE };
|
t_mmap.c | 341 * Make a PROT_NONE mapping and try to access it. 344 map = mmap(NULL, page, PROT_NONE, MAP_ANON|MAP_PRIVATE, -1, 0); 378 * PROT_NONE. This should succeed, but 393 map = mmap(NULL, 3, PROT_NONE, MAP_FILE | MAP_SHARED, fd, 0); 456 PROT_NONE, MAP_ANON|MAP_PRIVATE, -1, 0);
|
t_mincore.c | 239 addr3 = mmap(NULL, npgs * page, PROT_MPROTECT(PROT_READ) | PROT_NONE,
|
/src/sys/fs/v7fs/ |
v7fs_io_user.c | 88 local.addr = mmap(NULL, local.size, PROT_READ | PROT_WRITE | PROT_NONE,
|
/src/lib/libc/gen/ |
tolower_.c | 83 PROT_NONE);
|
toupper_.c | 83 PROT_NONE);
|
ctype_.c | 273 _CTYPE_GUARD_SIZE, PROT_NONE); 276 _CTYPE_GUARD_SIZE, PROT_NONE);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_posix_libcdep.cc | 392 return (void *)internal_mmap((void *)fixed_addr, size, PROT_NONE, flags, fd, 398 return (void *)internal_mmap(nullptr, size, PROT_NONE, flags, -1, 0);
|
sanitizer_posix.cc | 149 return 0 == internal_mprotect((void*)addr, size, PROT_NONE);
|
/src/sys/external/isc/libsodium/dist/src/libsodium/sodium/ |
utils.c | 72 !(defined(PROT_NONE) && defined(PROT_READ) && defined(PROT_WRITE)) 396 return mprotect(ptr, size, PROT_NONE);
|
/src/lib/libc/locale/ |
rune.c | 96 else if (mprotect(p, page_size, PROT_NONE) == -1)
|
/src/libexec/ld.elf_so/ |
map_object.c | 338 mapbase = mmap(base_addr, mapsize, PROT_NONE, mapflags, -1, 0);
|
/src/lib/libpthread/ |
pthread.c | 396 mprotect(redzone, guardsize, PROT_NONE) == -1) {
|
/src/sys/arch/usermode/usermode/ |
thunk.c | 199 int nprot = PROT_NONE;
|
/src/usr.bin/kdump/ |
kdump.c | 746 if (pr == PROT_NONE) { 747 fputs("PROT_NONE", stdout);
|
/src/tests/dev/audio/ |
audiotest.c | 1074 strlcpy(protbuf, "|PROT_NONE", sizeof(protbuf)); 2593 if (prot == PROT_NONE) { 2680 DEF(mmap_mode_RDONLY_NONE) { test_mmap_mode(O_RDONLY, PROT_NONE); } 2684 DEF(mmap_mode_WRONLY_NONE) { test_mmap_mode(O_WRONLY, PROT_NONE); } 2688 DEF(mmap_mode_RDWR_NONE) { test_mmap_mode(O_RDWR, PROT_NONE); }
|