Home
last modified time | relevance | path

Searched refs:PROT_NONE (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/tools/testing/selftests/vm/
Dmap_fixed_noreplace.c44 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/
Dmman.h34 #define PROT_NONE 0x0 macro
/Linux-v5.4/tools/arch/mips/include/uapi/asm/
Dmman.h35 #define PROT_NONE 0x00 macro
/Linux-v5.4/tools/arch/parisc/include/uapi/asm/
Dmman.h34 #define PROT_NONE 0x0 macro
/Linux-v5.4/tools/arch/xtensa/include/uapi/asm/
Dmman.h34 #define PROT_NONE 0x0 macro
/Linux-v5.4/include/uapi/asm-generic/
Dmman-common.h14 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/Linux-v5.4/tools/include/uapi/asm-generic/
Dmman-common.h14 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/Linux-v5.4/arch/xtensa/include/uapi/asm/
Dmman.h25 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dmman.h9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dmman.h9 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/Linux-v5.4/arch/mips/include/uapi/asm/
Dmman.h18 #define PROT_NONE 0x00 /* page can not be accessed */ macro
/Linux-v5.4/tools/testing/selftests/x86/
Dtest_mremap_vdso.c30 dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in try_to_remap()
Dprotection_keys.c782 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/
Dproc-self-map-files-001.c58 p = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE, fd, 0); in main()
Dproc-self-map-files-002.c61 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
/Linux-v5.4/Documentation/core-api/
Dprotection-keys.rst51 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/
Dload_unaligned_zeropad.c43 if (mprotect(mem_region + page_size, page_size, PROT_NONE)) { in protect_region()
/Linux-v5.4/tools/testing/selftests/powerpc/copyloops/
Dexc_validate.c98 if (mprotect(p + page_size, page_size, PROT_NONE)) { in test_copy_exception()
/Linux-v5.4/tools/perf/trace/beauty/
Dmmap.c12 if (prot == PROT_NONE) in syscall_arg__scnprintf_mmap_prot()
/Linux-v5.4/arch/s390/mm/
Dpgtable.c607 if ((pte_i && (prot != PROT_NONE)) || in ptep_force_prot()
614 if (prot == PROT_NONE && !pte_i) { in ptep_force_prot()
Dgmap.c963 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/
Dunevictable-lru.rst306 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/
Duserfaultfd.rst15 of the PROT_NONE+SIGSEGV trick.