/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | WindowsMMap.c | 30 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) 40 if (prot & PROT_EXEC) 44 } else if (prot & PROT_EXEC) { 47 else if (prot & PROT_EXEC) 67 if (prot & PROT_EXEC)
|
H A D | WindowsMMap.h | 23 #define PROT_EXEC 0x0 macro
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | enable_execute_stack.c | 65 (void)mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
|
/freebsd-11-stable/tools/test/vm86/ |
H A D | vm86_test.c | 89 PROT_EXEC, MAP_ANON, -1, 0); 106 PROT_EXEC, MAP_ANON | MAP_FIXED, -1, 0);
|
/freebsd-11-stable/libexec/rtld-elf/i386/ |
H A D | rtld_machdep.h | 79 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/libexec/rtld-elf/powerpc/ |
H A D | rtld_machdep.h | 88 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/libexec/rtld-elf/mips/ |
H A D | rtld_machdep.h | 73 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/libexec/rtld-elf/amd64/ |
H A D | rtld_machdep.h | 78 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/libexec/rtld-elf/arm/ |
H A D | rtld_machdep.h | 73 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/libexec/rtld-elf/aarch64/ |
H A D | rtld_machdep.h | 82 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/libexec/rtld-elf/powerpc64/ |
H A D | rtld_machdep.h | 80 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/libexec/rtld-elf/riscv/ |
H A D | rtld_machdep.h | 105 #define RTLD_DEFAULT_STACK_EXEC PROT_EXEC
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Memory.inc | 54 return PROT_READ | PROT_EXEC; 57 return PROT_READ | PROT_WRITE | PROT_EXEC; 66 return PROT_READ | PROT_EXEC; 68 return PROT_EXEC; 110 Protect |= PROT_MPROTECT(PROT_READ | PROT_WRITE | PROT_EXEC);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_clone.c | 102 allocstack = mmap(NULL, STACKSIZE, PROT_READ|PROT_WRITE|PROT_EXEC, 196 allocstack = mmap(NULL, STACKSIZE, PROT_READ|PROT_WRITE|PROT_EXEC,
|
H A D | t_mprotect.c | 216 ATF_REQUIRE(mprotect(map, page, PROT_EXEC|PROT_READ) == 0); 298 rv = mprotect(map, 1, prot[i] | PROT_EXEC);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_mmap.c | 117 * PROT_READ, PROT_WRITE, or PROT_EXEC implies PROT_READ and PROT_EXEC 220 if ((prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) != 0) 238 *prot |= PROT_EXEC;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | InferiorCallPOSIX.cpp | 30 #define PROT_EXEC 4 macro 72 prot_arg |= PROT_EXEC;
|
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_file.h | 90 } else if ((fflags & PROT_READ) || (fflags & PROT_EXEC)) {
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | bootrom.c | 94 prot = PROT_READ | PROT_EXEC;
|
/freebsd-11-stable/contrib/gcc/config/ |
H A D | openbsd.h | 312 if (mprotect (page, end - page, PROT_READ | PROT_WRITE | PROT_EXEC) < 0) \
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_mem.c | 54 *out |= PROT_EXEC;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_report.cpp | 92 if ((prot & (PROT_WRITE | PROT_EXEC)) != (PROT_WRITE | PROT_EXEC))
|
/freebsd-11-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 168 p = mmap(NULL, getpagesize(), PROT_EXEC, MAP_SHARED, fd_cap, 0); 175 p = mmap(NULL, getpagesize(), PROT_READ | PROT_EXEC, MAP_SHARED, 179 p = mmap(NULL, getpagesize(), PROT_EXEC | PROT_WRITE, MAP_SHARED, 183 p = mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC,
|
/freebsd-11-stable/sys/sys/ |
H A D | mman.h | 55 #define PROT_EXEC 0x04 /* pages can be executed */ macro
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | dlfcn.c | 258 return (PROT_EXEC | PROT_READ | PROT_WRITE);
|