| /Linux-v5.4/tools/testing/selftests/vm/ |
| D | map_fixed_noreplace.c | 44 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 65 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 85 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 106 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 126 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 146 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 166 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 186 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main()
|
| /Linux-v5.4/tools/arch/alpha/include/uapi/asm/ |
| D | mman.h | 34 #define PROT_NONE 0x0 macro
|
| /Linux-v5.4/tools/arch/mips/include/uapi/asm/ |
| D | mman.h | 35 #define PROT_NONE 0x00 macro
|
| /Linux-v5.4/tools/arch/parisc/include/uapi/asm/ |
| D | mman.h | 34 #define PROT_NONE 0x0 macro
|
| /Linux-v5.4/tools/arch/xtensa/include/uapi/asm/ |
| D | mman.h | 34 #define PROT_NONE 0x0 macro
|
| /Linux-v5.4/include/uapi/asm-generic/ |
| D | mman-common.h | 14 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v5.4/tools/include/uapi/asm-generic/ |
| D | mman-common.h | 14 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v5.4/arch/xtensa/include/uapi/asm/ |
| D | mman.h | 25 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v5.4/arch/parisc/include/uapi/asm/ |
| D | mman.h | 9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v5.4/arch/alpha/include/uapi/asm/ |
| D | mman.h | 9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
|
| /Linux-v5.4/arch/mips/include/uapi/asm/ |
| D | mman.h | 18 #define PROT_NONE 0x00 /* page can not be accessed */ macro
|
| /Linux-v5.4/tools/testing/selftests/x86/ |
| D | test_mremap_vdso.c | 30 dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in try_to_remap()
|
| D | protection_keys.c | 782 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in malloc_pkey_anon_huge() 853 ptr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in malloc_pkey_hugetlb() 1397 ret = mprotect(p1, PAGE_SIZE, PROT_NONE); in test_implicit_mprotect_exec_only_memory() 1491 ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in main()
|
| /Linux-v5.4/tools/testing/selftests/proc/ |
| D | proc-self-map-files-001.c | 58 p = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE, fd, 0); in main()
|
| D | proc-self-map-files-002.c | 61 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
|
| /Linux-v5.4/Documentation/core-api/ |
| D | protection-keys.rst | 51 ptr = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); 78 mprotect(ptr, size, PROT_NONE);
|
| /Linux-v5.4/tools/testing/selftests/powerpc/primitives/ |
| D | load_unaligned_zeropad.c | 43 if (mprotect(mem_region + page_size, page_size, PROT_NONE)) { in protect_region()
|
| /Linux-v5.4/tools/testing/selftests/powerpc/copyloops/ |
| D | exc_validate.c | 98 if (mprotect(p + page_size, page_size, PROT_NONE)) { in test_copy_exception()
|
| /Linux-v5.4/tools/perf/trace/beauty/ |
| D | mmap.c | 12 if (prot == PROT_NONE) in syscall_arg__scnprintf_mmap_prot()
|
| /Linux-v5.4/arch/s390/mm/ |
| D | pgtable.c | 607 if ((pte_i && (prot != PROT_NONE)) || in ptep_force_prot() 614 if (prot == PROT_NONE && !pte_i) { in ptep_force_prot()
|
| D | gmap.c | 963 if ((pmd_i && (prot != PROT_NONE)) || (pmd_p && (prot == PROT_WRITE))) in gmap_protect_pmd() 966 if (prot == PROT_NONE && !pmd_i) { in gmap_protect_pmd()
|
| /Linux-v5.4/Documentation/vm/ |
| D | unevictable-lru.rst | 306 Note that the VMA being mlocked might be mapped with PROT_NONE. In this case, 382 Because the VMA access protections could have been changed to PROT_NONE after 495 attempting to fault in a VMA with PROT_NONE access. In this case, we leave the
|
| /Linux-v5.4/Documentation/admin-guide/mm/ |
| D | userfaultfd.rst | 15 of the PROT_NONE+SIGSEGV trick.
|