/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
D | pkey_exec_prot.c | 84 if (mprotect(insns, pgsize, PROT_EXEC)) { in segv_handler() 179 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test() 196 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test() 216 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test() 233 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test() 270 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
|
D | pkey_siginfo.c | 26 #define PROT_RWX (PROT_READ | PROT_WRITE | PROT_EXEC) 83 mprotect(pgstart, pgsize, PROT_EXEC)) in segv_handler()
|
/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
D | usercopy.c | 81 PROT_READ | PROT_WRITE | PROT_EXEC, in do_usercopy_stack() 149 PROT_READ | PROT_WRITE | PROT_EXEC, in do_usercopy_heap_size() 223 PROT_READ | PROT_WRITE | PROT_EXEC, in do_usercopy_heap_whitelist() 311 PROT_READ | PROT_WRITE | PROT_EXEC, in lkdtm_USERCOPY_KERNEL()
|
D | perms.c | 162 PROT_READ | PROT_WRITE | PROT_EXEC, in lkdtm_EXEC_USERSPACE() 183 PROT_READ | PROT_WRITE | PROT_EXEC, in lkdtm_ACCESS_USERSPACE()
|
/kernel/linux/common_modules/xpm/core/ |
D | xpm_security_hooks.c | 252 is_exec = !xpm_is_anonymous_vma(vma) && (prot & PROT_EXEC); in xpm_check_signature() 306 if (is_anon || (prot & PROT_EXEC)) { in xpm_check_prot() 317 if (is_anon && (prot & PROT_EXEC)) { in xpm_check_prot() 328 if (!is_anon && (prot & PROT_WRITE) && (prot & PROT_EXEC)) { in xpm_check_prot()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mman.h | 106 return (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM)) == 0; in arch_validate_prot() 143 _calc_vm_trans(prot, PROT_EXEC, VM_EXEC) | in calc_vm_prot_bits()
|
/kernel/linux/linux-5.10/arch/x86/ia32/ |
D | ia32_aout.c | 204 PROT_READ | PROT_EXEC, in load_aout_binary() 213 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_binary() 295 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_library()
|
/kernel/linux/linux-5.10/fs/ |
D | binfmt_aout.c | 224 PROT_READ | PROT_EXEC, in load_aout_binary() 232 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_binary() 311 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_library()
|
/kernel/linux/linux-5.10/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 32 #define PROT_EXEC 0x04 macro
|
/kernel/linux/linux-5.10/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 31 #define PROT_EXEC 0x4 macro
|
/kernel/linux/linux-5.10/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 31 #define PROT_EXEC 0x4 macro
|
/kernel/linux/linux-5.10/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 31 #define PROT_EXEC 0x4 macro
|
/kernel/linux/linux-5.10/arch/c6x/include/asm/ |
D | cacheflush.h | 30 if ((vma)->vm_flags & PROT_EXEC) \
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 10 #define PROT_EXEC 0x4 macro
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
D | mman-common.h | 12 #define PROT_EXEC 0x4 /* page can be executed */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 23 #define PROT_EXEC 0x4 macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | mman-common.h | 12 #define PROT_EXEC 0x4 /* page can be executed */ macro
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | mman.h | 7 #define PROT_EXEC 0x4 /* page can be executed */ macro
|
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/ |
D | mman.h | 28 #define PROT_EXEC 0x4 /* page can be executed */ macro
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | mman.h | 7 #define PROT_EXEC 0x4 /* page can be executed */ macro
|
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
D | mmap_test_010.cpp | 50 ptr = (int *)mmap(0, MMAP_SIZE, PROT_EXEC, MAP_ANON | MAP_PRIVATE, -1, 0); in Testcase()
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | mman.h | 21 #define PROT_EXEC 0x04 /* page can be executed */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | mman.h | 24 #define PROT_EXEC 0x04 macro
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | mman.h | 41 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_SAO)) in arch_validate_prot()
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
D | process.c | 145 (x ? PROT_EXEC : 0); in os_map_memory() 157 (x ? PROT_EXEC : 0)); in os_protect_memory()
|