Home
last modified time | relevance | path

Searched refs:PROT_EXEC (Results 1 – 25 of 75) sorted by relevance

123

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c84 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()
Dpkey_siginfo.c26 #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/
Dusercopy.c81 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()
Dperms.c162 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/
Dxpm_security_hooks.c252 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/
Dmman.h106 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/
Dia32_aout.c204 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/
Dbinfmt_aout.c224 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/
Dmman.h32 #define PROT_EXEC 0x04 macro
/kernel/linux/linux-5.10/tools/arch/alpha/include/uapi/asm/
Dmman.h31 #define PROT_EXEC 0x4 macro
/kernel/linux/linux-5.10/tools/arch/xtensa/include/uapi/asm/
Dmman.h31 #define PROT_EXEC 0x4 macro
/kernel/linux/linux-5.10/tools/arch/parisc/include/uapi/asm/
Dmman.h31 #define PROT_EXEC 0x4 macro
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dcacheflush.h30 if ((vma)->vm_flags & PROT_EXEC) \
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dmman-common.h10 #define PROT_EXEC 0x4 macro
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
Dmman-common.h12 #define PROT_EXEC 0x4 /* page can be executed */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dmman-common.h23 #define PROT_EXEC 0x4 macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dmman-common.h12 #define PROT_EXEC 0x4 /* page can be executed */ macro
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dmman.h7 #define PROT_EXEC 0x4 /* page can be executed */ macro
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
Dmman.h28 #define PROT_EXEC 0x4 /* page can be executed */ macro
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Dmman.h7 #define PROT_EXEC 0x4 /* page can be executed */ macro
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/
Dmmap_test_010.cpp50 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/
Dmman.h21 #define PROT_EXEC 0x04 /* page can be executed */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dmman.h24 #define PROT_EXEC 0x04 macro
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmman.h41 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/
Dprocess.c145 (x ? PROT_EXEC : 0); in os_map_memory()
157 (x ? PROT_EXEC : 0)); in os_protect_memory()

123