PROT_READ
Defined as a preprocessor macro in:
- arch/alpha/include/uapi/asm/mman.h, line 5
- arch/mips/include/uapi/asm/mman.h, line 19
- arch/parisc/include/uapi/asm/mman.h, line 5
- arch/xtensa/include/uapi/asm/mman.h, line 26
- include/uapi/asm-generic/mman-common.h, line 10
- tools/arch/alpha/include/uapi/asm/mman.h, line 35
- tools/arch/mips/include/uapi/asm/mman.h, line 36
- tools/arch/parisc/include/uapi/asm/mman.h, line 35
- tools/arch/xtensa/include/uapi/asm/mman.h, line 35
- tools/include/uapi/asm-generic/mman-common.h, line 10
Referenced (in 241 files total) in:
- arch/alpha/include/uapi/asm/mman.h, line 5
- arch/arm/vdso/vdsomunge.c, 2 times
- arch/arm64/include/asm/mman.h, line 55
- arch/arm64/kernel/pi/relacheck.c, line 66
- arch/arm64/kvm/hyp/nvhe/gen-hyprel.c, line 269
- arch/mips/include/uapi/asm/mman.h, line 19
- arch/mips/tools/loongson3-llsc-check.c, line 263
- arch/mips/vdso/genvdso.c, line 129
- arch/parisc/include/uapi/asm/mman.h, line 5
- arch/powerpc/include/asm/mman.h, line 30
- arch/s390/mm/gmap.c, 8 times
- arch/s390/mm/pgtable.c, line 667
- arch/sparc/include/asm/mman.h, line 52
- arch/sparc/vdso/vdso2c.c, 2 times
- arch/um/os-Linux/file.c, line 729
- arch/um/os-Linux/mem.c, 2 times
- arch/um/os-Linux/process.c, 3 times
- arch/um/os-Linux/skas/process.c, 2 times
- arch/um/os-Linux/util.c, line 24
- arch/x86/boot/tools/build.c, line 221
- arch/x86/entry/vdso/vdso2c.c, 2 times
- arch/x86/kernel/cpu/sgx/encl.c, 2 times
- arch/x86/kernel/cpu/sgx/ioctl.c, line 957
- arch/x86/kernel/shstk.c, line 111
- arch/x86/kvm/x86.c, line 12825
- arch/x86/um/os-Linux/task_size.c, 2 times
- arch/x86/um/user-offsets.c, line 84
- arch/xtensa/include/uapi/asm/mman.h, line 26
- fs/aio.c, line 553
- fs/bcachefs/btree_cache.c, line 160
- fs/binfmt_elf.c, 3 times
- fs/binfmt_elf_fdpic.c, 3 times
- fs/binfmt_flat.c, 3 times
- include/linux/mman.h, 2 times
- include/linux/raid/pq.h, line 170
- include/uapi/asm-generic/mman-common.h, line 10
- ipc/shm.c, 2 times
- kernel/events/core.c, line 8880
- lib/usercopy_kunit.c, line 307
- lib/vdso/getrandom.c, line 82
- mm/kasan/kasan_test_module.c, line 30
- mm/mmap.c, 2 times
- mm/mprotect.c, line 717
- mm/nommu.c, 4 times
- samples/auxdisplay/cfag12864b-example.c, line 57
- samples/bpf/xdp_sample_user.c, line 1232
- samples/nitro_enclaves/ne_ioctl_sample.c, 2 times
- scripts/insert-sys-cert.c, line 218
- scripts/kconfig/confdata.c, 2 times
- scripts/mod/modpost.c, line 385
- scripts/recordmcount.c, line 199
- scripts/sorttable.c, line 101
- security/apparmor/lsm.c, line 568
- security/security.c, 2 times
- tools/arch/alpha/include/uapi/asm/mman.h, line 35
- tools/arch/mips/include/uapi/asm/mman.h, line 36
- tools/arch/parisc/include/uapi/asm/mman.h, line 35
- tools/arch/xtensa/include/uapi/asm/mman.h, line 35
- tools/bpf/bpf_dbg.c, line 972
- tools/bpf/bpftool/gen.c, 4 times
- tools/build/fixdep.c, line 143
- tools/firmware/ihex2fw.c, line 111
- tools/hv/vmbus_bufring.c, line 37
- tools/include/io_uring/mini_liburing.h, 3 times
- tools/include/nolibc/stdlib.h, line 138
- tools/include/uapi/asm-generic/mman-common.h, line 10
- tools/lib/bpf/libbpf.c, 6 times
- tools/lib/bpf/ringbuf.c, 4 times
- tools/lib/bpf/skel_internal.h, line 188
- tools/lib/bpf/zip.c, line 215
- tools/lib/perf/evlist.c, 2 times
- tools/lib/perf/evsel.c, line 249
- tools/mm/page-types.c, line 990
- tools/objtool/check.c, line 400
- tools/objtool/elf.c, line 79
- tools/perf/arch/x86/tests/intel-cqm.c, line 108
- tools/perf/bench/numa.c, line 444
- tools/perf/builtin-report.c, line 862
- tools/perf/jvmti/jvmti_agent.c, line 216
- tools/perf/tests/mmap-thread-lookup.c, line 39
- tools/perf/util/auxtrace.c, 3 times
- tools/perf/util/copyfile.c, line 53
- tools/perf/util/event.c, 2 times
- tools/perf/util/mmap.c, 2 times
- tools/perf/util/session.c, line 2058
- tools/perf/util/srccode.c, line 129
- tools/perf/util/synthetic-events.c, 2 times
- tools/perf/util/tool.c, line 29
- tools/perf/util/zlib.c, line 39
- tools/power/acpi/os_specific/service_layers/osunixmap.c, line 83
- tools/power/acpi/tools/pfrut/pfrut.c, 2 times
- tools/power/cpupower/debug/i386/dump_psb.c, line 182
- tools/power/x86/turbostat/turbostat.c, line 8763
- tools/testing/selftests/arm64/mte/check_mmap_options.c, line 136
- tools/testing/selftests/arm64/mte/mte_common_util.c, line 142
- tools/testing/selftests/bpf/benchs/bench_ringbufs.c, 2 times
- tools/testing/selftests/bpf/prog_tests/bpf_mod_race.c, line 99
- tools/testing/selftests/bpf/prog_tests/core_reloc.c, line 1084
- tools/testing/selftests/bpf/prog_tests/fexit_sleep.c, line 41
- tools/testing/selftests/bpf/prog_tests/mmap.c, 14 times
- tools/testing/selftests/bpf/prog_tests/ringbuf.c, 4 times
- tools/testing/selftests/bpf/prog_tests/skeleton.c, line 130
- tools/testing/selftests/bpf/prog_tests/test_lsm.c, line 34
- tools/testing/selftests/bpf/prog_tests/test_mmap_inner_array.c, line 21
- tools/testing/selftests/bpf/prog_tests/user_ringbuf.c, 3 times
- tools/testing/selftests/bpf/prog_tests/verify_pkcs7_sig.c, line 224
- tools/testing/selftests/bpf/prog_tests/xdp_metadata.c, line 80
- tools/testing/selftests/bpf/xdp_hw_metadata.c, line 90
- tools/testing/selftests/bpf/xsk.c, 4 times
- tools/testing/selftests/bpf/xskxceiver.c, 3 times
- tools/testing/selftests/cgroup/test_core.c, line 56
- tools/testing/selftests/cgroup/test_hugetlb_memcg.c, line 17
- tools/testing/selftests/cgroup/test_memcontrol.c, line 661
- tools/testing/selftests/cgroup/test_zswap.c, line 512
- tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c, 3 times
- tools/testing/selftests/drivers/dma-buf/udmabuf.c, line 100
- tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c, line 137
- tools/testing/selftests/futex/functional/futex_wait.c, line 137
- tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c, line 91
- tools/testing/selftests/iommu/iommufd.c, 8 times
- tools/testing/selftests/iommu/iommufd_fail_nth.c, line 48
- tools/testing/selftests/kselftest_harness.h, 4 times
- tools/testing/selftests/kvm/guest_memfd_test.c, line 41
- tools/testing/selftests/kvm/lib/kvm_util.c, 6 times
- tools/testing/selftests/kvm/max_guest_memory_test.c, line 218
- tools/testing/selftests/kvm/s390x/shared_zeropage_test.c, line 64
- tools/testing/selftests/kvm/s390x/tprot.c, 2 times
- tools/testing/selftests/kvm/s390x/ucontrol_test.c, 2 times
- tools/testing/selftests/kvm/set_memory_region_test.c, 2 times
- tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c, line 518
- tools/testing/selftests/memfd/fuse_test.c, 2 times
- tools/testing/selftests/memfd/memfd_test.c, 12 times
- tools/testing/selftests/mincore/mincore_selftest.c, 5 times
- tools/testing/selftests/mm/compaction_test.c, line 232
- tools/testing/selftests/mm/cow.c, 24 times
- tools/testing/selftests/mm/droppable.c, line 28
- tools/testing/selftests/mm/gup_longterm.c, 2 times
- tools/testing/selftests/mm/gup_test.c, line 235
- tools/testing/selftests/mm/hmm-tests.c, 39 times
- tools/testing/selftests/mm/hugepage-mmap.c, line 21
- tools/testing/selftests/mm/hugepage-mremap.c, 2 times
- tools/testing/selftests/mm/hugepage-vmemmap.c, line 102
- tools/testing/selftests/mm/hugetlb-madvise.c, 7 times
- tools/testing/selftests/mm/hugetlb-read-hwpoison.c, 2 times
- tools/testing/selftests/mm/hugetlb-soft-offline.c, line 47
- tools/testing/selftests/mm/hugetlb_dio.c, line 33
- tools/testing/selftests/mm/hugetlb_fault_after_madv.c, line 57
- tools/testing/selftests/mm/hugetlb_madv_vs_map.c, 2 times
- tools/testing/selftests/mm/khugepaged.c, 3 times
- tools/testing/selftests/mm/ksm_functional_tests.c, 7 times
- tools/testing/selftests/mm/ksm_tests.c, 2 times
- tools/testing/selftests/mm/madv_populate.c, 8 times
- tools/testing/selftests/mm/map_hugetlb.c, line 17
- tools/testing/selftests/mm/map_populate.c, 2 times
- tools/testing/selftests/mm/mdwe_test.c, 7 times
- tools/testing/selftests/mm/memfd_secret.c, line 33
- tools/testing/selftests/mm/migration.c, 3 times
- tools/testing/selftests/mm/mkdirty.c, 10 times
- tools/testing/selftests/mm/mlock2-tests.c, 7 times
- tools/testing/selftests/mm/mrelease_test.c, line 27
- tools/testing/selftests/mm/mremap_dontunmap.c, 8 times
- tools/testing/selftests/mm/mremap_test.c, 7 times
- tools/testing/selftests/mm/mseal_test.c, 49 times
- tools/testing/selftests/mm/on-fault-limit.c, line 21
- tools/testing/selftests/mm/pagemap_ioctl.c, 31 times
- tools/testing/selftests/mm/pkey_sighandler_tests.c, 6 times
- tools/testing/selftests/mm/protection_keys.c, 10 times
- tools/testing/selftests/mm/seal_elf.c, 4 times
- tools/testing/selftests/mm/soft-dirty.c, 6 times
- tools/testing/selftests/mm/split_huge_page_test.c, 2 times
- tools/testing/selftests/mm/thuge-gen.c, line 120
- tools/testing/selftests/mm/transhuge-stress.c, line 23
- tools/testing/selftests/mm/uffd-common.c, 5 times
- tools/testing/selftests/mm/va_high_addr_switch.c, 2 times
- tools/testing/selftests/mm/virtual_address_range.c, 3 times
- tools/testing/selftests/mm/vm_util.c, line 254
- tools/testing/selftests/mm/write_to_hugetlbfs.c, 2 times
- tools/testing/selftests/net/af_unix/scm_pidfd.c, line 258
- tools/testing/selftests/net/ipsec.c, line 1981
- tools/testing/selftests/net/mptcp/mptcp_connect.c, line 780
- tools/testing/selftests/net/ncdevmem.c, line 291
- tools/testing/selftests/net/psock_fanout.c, line 213
- tools/testing/selftests/net/psock_tpacket.c, line 712
- tools/testing/selftests/net/tcp_mmap.c, 3 times
- tools/testing/selftests/net/toeplitz.c, line 279
- tools/testing/selftests/net/txring_overwrite.c, line 115
- tools/testing/selftests/nolibc/nolibc-test.c, 2 times
- tools/testing/selftests/perf_events/watermark_signal.c, line 106
- tools/testing/selftests/pidfd/pidfd_fdinfo_test.c, line 101
- tools/testing/selftests/pidfd/pidfd_test.c, line 516
- tools/testing/selftests/powerpc/alignment/alignment_handler.c, 2 times
- tools/testing/selftests/powerpc/benchmarks/mmap_bench.c, line 42
- tools/testing/selftests/powerpc/copyloops/exc_validate.c, line 86
- tools/testing/selftests/powerpc/dexcr/hashchk_test.c, line 205
- tools/testing/selftests/powerpc/mce/inject-ra-err.c, line 49
- tools/testing/selftests/powerpc/mm/exec_prot.c, 6 times
- tools/testing/selftests/powerpc/mm/hugetlb_vs_thp_test.c, 2 times
- tools/testing/selftests/powerpc/mm/large_vm_fork_separation.c, line 34
- tools/testing/selftests/powerpc/mm/large_vm_gpr_corruption.c, line 123
- tools/testing/selftests/powerpc/mm/pkey_exec_prot.c, 2 times
- tools/testing/selftests/powerpc/mm/pkey_siginfo.c, line 26
- tools/testing/selftests/powerpc/mm/prot_sao.c, line 35
- tools/testing/selftests/powerpc/mm/subpage_prot.c, line 208
- tools/testing/selftests/powerpc/mm/tlbie_test.c, 2 times
- tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c, line 73
- tools/testing/selftests/powerpc/pmu/ebb/trace.c, line 24
- tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c, line 184
- tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c, 2 times
- tools/testing/selftests/powerpc/ptrace/core-pkey.c, line 330
- tools/testing/selftests/powerpc/signal/sigreturn_vdso.c, 2 times
- tools/testing/selftests/powerpc/stringloops/memcmp.c, line 84
- tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c, 2 times
- tools/testing/selftests/powerpc/tm/tm-signal-pagefault.c, line 165
- tools/testing/selftests/powerpc/tm/tm-vmxcopy.c, line 61
- tools/testing/selftests/prctl/set-anon-vma-name-test.c, 2 times
- tools/testing/selftests/proc/thread-self.c, line 56
- tools/testing/selftests/ptrace/peeksiginfo.c, 2 times
- tools/testing/selftests/ring-buffer/map_test.c, 5 times
- tools/testing/selftests/riscv/mm/mmap_test.h, line 13
- tools/testing/selftests/seccomp/seccomp_bpf.c, 2 times
- tools/testing/selftests/sgx/load.c, 7 times
- tools/testing/selftests/sgx/main.c, 7 times
- tools/testing/selftests/sigaltstack/sas.c, 2 times
- tools/testing/selftests/user_events/abi_test.c, line 401
- tools/testing/selftests/user_events/ftrace_test.c, line 409
- tools/testing/selftests/user_events/perf_test.c, 2 times
- tools/testing/selftests/x86/amx.c, line 397
- tools/testing/selftests/x86/entry_from_vm86.c, line 254
- tools/testing/selftests/x86/fsgsbase.c, 2 times
- tools/testing/selftests/x86/fsgsbase_restore.c, 2 times
- tools/testing/selftests/x86/lam.c, 4 times
- tools/testing/selftests/x86/ldt_gdt.c, 2 times
- tools/testing/selftests/x86/nx_stack.c, line 198
- tools/testing/selftests/x86/sigaltstack.c, line 117
- tools/testing/selftests/x86/syscall_numbering.c, line 459
- tools/testing/selftests/x86/sysret_ss_attrs.c, line 66
- tools/testing/selftests/x86/test_shadow_stack.c, 11 times
- tools/testing/vsock/util.c, line 597
- tools/testing/vsock/vsock_perf.c, line 280
- tools/testing/vsock/vsock_test.c, line 733
- tools/virtio/vringh_test.c, 2 times
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.