O_RDONLY
Defined as a preprocessor macro in:
Referenced (in 335 files total) in:
- arch/alpha/boot/tools/mkbb.c, line 108
- arch/alpha/boot/tools/objstrip.c, line 91
- arch/arm/vdso/vdsomunge.c, line 138
- arch/arm64/kvm/hyp/nvhe/gen-hyprel.c, line 257
- arch/mips/boot/elf2ecoff.c, line 300
- arch/mips/tools/loongson3-llsc-check.c, line 251
- arch/powerpc/boot/mktree.c, line 82
- arch/powerpc/kvm/book3s_64_mmu_hv.c, 2 times
- arch/powerpc/platforms/cell/spufs/inode.c, 2 times
- arch/powerpc/platforms/pseries/papr-vpd.c, 2 times
- arch/sparc/boot/piggyback.c, line 255
- arch/sparc/vdso/vdso2c.c, line 163
- arch/um/drivers/mconsole_kern.c, line 144
- arch/um/drivers/tty.c, line 48
- arch/um/os-Linux/file.c, 2 times
- arch/um/os-Linux/process.c, 2 times
- arch/um/os-Linux/umid.c, line 148
- arch/x86/boot/tools/build.c, line 212
- arch/x86/entry/vdso/vdso2c.c, line 190
- arch/x86/tools/insn_sanity.c, line 109
- block/bdev.c, line 976
- fs/9p/vfs_inode.c, line 168
- fs/autofs/dev-ioctl.c, line 240
- fs/bcachefs/thread_with_file.c, line 33
- fs/ceph/file.c, 2 times
- fs/ceph/util.c, line 68
- fs/coda/coda_linux.c, line 48
- fs/ecryptfs/file.c, 2 times
- fs/ecryptfs/kthread.c, 2 times
- fs/exportfs/expfs.c, line 312
- fs/fuse/ioctl.c, 2 times
- fs/hostfs/hostfs_user.c, line 77
- fs/kernel_read_file.c, 2 times
- fs/lockd/svclock.c, line 686
- fs/lockd/svcsubs.c, 6 times
- fs/locks.c, line 1548
- fs/namei.c, line 3358
- fs/nfs/dir.c, line 3304
- fs/nfs/internal.h, line 50
- fs/nfs/nfs4file.c, line 358
- fs/nfs/nfs4trace.h, line 859
- fs/nfsd/nfs4proc.c, line 210
- fs/nfsd/nfs4recover.c, line 544
- fs/nfsd/nfs4state.c, 9 times
- fs/nfsd/vfs.c, 2 times
- fs/notify/fanotify/fanotify_user.c, line 1448
- fs/notify/inotify/inotify_user.c, line 712
- fs/nsfs.c, line 110
- fs/overlayfs/copy_up.c, 2 times
- fs/overlayfs/inode.c, line 620
- fs/overlayfs/readdir.c, 2 times
- fs/overlayfs/util.c, 2 times
- fs/pipe.c, line 949
- fs/smb/client/file.c, 4 times
- fs/smb/server/smb2pdu.c, 2 times
- fs/smb/server/vfs.c, line 1191
- fs/userfaultfd.c, 2 times
- fs/vboxsf/file.c, line 83
- fs/exec.c, 2 times
- include/linux/fcntl.h, line 10
- include/linux/lockd/lockd.h, 2 times
- include/uapi/asm-generic/fcntl.h, line 20
- init/do_mounts_rd.c, line 202
- ipc/shm.c, line 1560
- kernel/bpf/bpf_iter.c, line 646
- kernel/bpf/btf.c, line 7647
- kernel/bpf/syscall.c, line 1036
- kernel/power/user.c, 4 times
- lib/test_lockup.c, line 534
- mm/huge_memory.c, line 3585
- samples/binderfs/binderfs_example.c, line 53
- samples/bpf/hbm.c, line 80
- samples/bpf/syscall_tp_user.c, line 109
- samples/bpf/task_fd_query_user.c, 3 times
- samples/bpf/test_cgrp2_array_pin.c, line 59
- samples/bpf/test_cgrp2_attach.c, line 163
- samples/bpf/test_cgrp2_sock.c, line 261
- samples/bpf/test_cgrp2_sock2.c, line 48
- samples/bpf/xdp_fwd_user.c, line 163
- samples/cgroup/cgroup_event_listener.c, line 34
- samples/fanotify/fs-monitor.c, line 123
- samples/hid/hid_mouse.c, line 63
- samples/hid/hid_surface_dial.c, line 76
- samples/nitro_enclaves/ne_ioctl_sample.c, line 344
- samples/pfsm/pfsm-wakeup.c, line 38
- samples/pidfd/pidfd-metadata.c, 2 times
- samples/seccomp/user-trap.c, line 132
- samples/timers/hpet_example.c, 4 times
- samples/vfio-mdev/mtty.c, line 990
- scripts/asn1_compiler.c, line 594
- scripts/basic/fixdep.c, line 220
- scripts/dtc/util.c, line 255
- scripts/gcc-plugins/latent_entropy_plugin.c, line 106
- scripts/insert-sys-cert.c, line 234
- scripts/kconfig/confdata.c, 2 times
- scripts/mod/modpost.c, 2 times
- scripts/recordmcount.c, line 186
- security/integrity/ima/ima_crypto.c, line 552
- security/integrity/ima/ima_fs.c, 2 times
- security/keys/big_key.c, line 246
- security/tomoyo/tomoyo.c, line 111
- security/ccsecurity/permission.c, 2 times
- sound/core/compress_offload.c, line 86
- sound/core/info.c, line 242
- sound/core/seq/oss/seq_oss_init.c, line 280
- tools/accounting/getdelays.c, line 450
- tools/arch/x86/intel_sdsi/intel_sdsi.c, line 543
- tools/bootconfig/main.c, 2 times
- tools/bpf/bpf_dbg.c, line 949
- tools/bpf/bpf_jit_disasm.c, line 135
- tools/bpf/bpftool/cgroup.c, 4 times
- tools/bpf/bpftool/common.c, line 676
- tools/bpf/bpftool/feature.c, line 155
- tools/bpf/bpftool/gen.c, 2 times
- tools/bpf/bpftool/net.c, line 585
- tools/bpf/bpftool/perf.c, line 34
- tools/build/fixdep.c, line 127
- tools/firmware/ihex2fw.c, line 101
- tools/hv/hv_vss_daemon.c, line 36
- tools/iio/iio_generic_buffer.c, line 655
- tools/laptop/dslm/dslm.c, line 147
- tools/laptop/freefall/freefall.c, 2 times
- tools/leds/led_hw_brightness_mon.c, line 42
- tools/lib/api/fs/fs.c, 4 times
- tools/lib/bpf/btf.c, line 1179
- tools/lib/bpf/elf.c, line 35
- tools/lib/bpf/libbpf.c, 2 times
- tools/lib/bpf/linker.c, line 560
- tools/lib/bpf/zip.c, line 205
- tools/lib/symbol/kallsyms.c, line 39
- tools/mm/page-types.c, 7 times
- tools/objtool/elf.c, line 1017
- tools/objtool/objtool.c, line 44
- tools/objtool/orc_dump.c, line 34
- tools/perf/builtin-daemon.c, 2 times
- tools/perf/builtin-ftrace.c, 3 times
- tools/perf/builtin-record.c, line 985
- tools/perf/builtin-script.c, line 4369
- tools/perf/jvmti/jvmti_agent.c, line 65
- tools/perf/tests/api-io.c, line 64
- tools/perf/tests/dso-data.c, 2 times
- tools/perf/tests/openat-syscall-all-cpus.c, line 85
- tools/perf/tests/openat-syscall-tp-fields.c, line 40
- tools/perf/tests/openat-syscall.c, line 49
- tools/perf/tests/tests-scripts.c, line 55
- tools/perf/trace/beauty/open_flags.c, line 30
- tools/perf/util/bpf_ftrace.c, line 103
- tools/perf/util/cgroup.c, line 43
- tools/perf/util/copyfile.c, line 115
- tools/perf/util/data.c, 2 times
- tools/perf/util/debuginfo.c, line 46
- tools/perf/util/disasm.c, line 1298
- tools/perf/util/dso.c, 2 times
- tools/perf/util/evsel.c, 2 times
- tools/perf/util/genelf.c, line 106
- tools/perf/util/lzma.c, line 110
- tools/perf/util/namespaces.c, 2 times
- tools/perf/util/pmu.c, 8 times
- tools/perf/util/print-events.c, line 113
- tools/perf/util/probe-event.c, 2 times
- tools/perf/util/probe-file.c, line 120
- tools/perf/util/srccode.c, line 113
- tools/perf/util/symbol-elf.c, 9 times
- tools/perf/util/symbol-minimal.c, 2 times
- tools/perf/util/symbol.c, 2 times
- tools/perf/util/synthetic-events.c, 2 times
- tools/perf/util/trace-event-info.c, 2 times
- tools/perf/util/tracepoint.c, line 20
- tools/perf/util/unwind-libunwind-local.c, 2 times
- tools/perf/util/zlib.c, 2 times
- tools/power/acpi/os_specific/service_layers/osunixmap.c, line 70
- tools/power/acpi/tools/ec/ec_access.c, 2 times
- tools/power/acpi/tools/pfrut/pfrut.c, line 326
- tools/power/cpupower/debug/i386/centrino-decode.c, line 42
- tools/power/cpupower/debug/i386/dump_psb.c, line 176
- tools/power/cpupower/debug/i386/powernow-k8-decode.c, line 39
- tools/power/cpupower/lib/cpuidle.c, line 63
- tools/power/cpupower/lib/cpupower.c, 2 times
- tools/power/cpupower/lib/powercap.c, 2 times
- tools/power/cpupower/utils/helpers/msr.c, line 32
- tools/power/cpupower/utils/helpers/sysfs.c, 3 times
- tools/power/x86/intel-speed-select/isst-config.c, 5 times
- tools/power/x86/turbostat/turbostat.c, 6 times
- tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c, 2 times
- tools/spi/spidev_test.c, line 364
- tools/testing/selftests/alsa/conf.c, line 171
- tools/testing/selftests/arm64/abi/tpidr2.c, line 281
- tools/testing/selftests/arm64/fp/za-fork.c, line 86
- tools/testing/selftests/bpf/benchs/bench_htab_mem.c, line 273
- tools/testing/selftests/bpf/cgroup_helpers.c, 4 times
- tools/testing/selftests/bpf/get_cgroup_id_user.c, line 96
- tools/testing/selftests/bpf/network_helpers.c, 2 times
- tools/testing/selftests/bpf/prog_tests/bpf_iter.c, 2 times
- tools/testing/selftests/bpf/prog_tests/cgroup_hierarchical_stats.c, line 75
- tools/testing/selftests/bpf/prog_tests/check_mtu.c, line 22
- tools/testing/selftests/bpf/prog_tests/d_path.c, 3 times
- tools/testing/selftests/bpf/prog_tests/flow_dissector.c, line 600
- tools/testing/selftests/bpf/prog_tests/flow_dissector_reattach.c, 3 times
- tools/testing/selftests/bpf/prog_tests/fs_kfuncs.c, 4 times
- tools/testing/selftests/bpf/prog_tests/module_attach.c, line 17
- tools/testing/selftests/bpf/prog_tests/mptcp.c, line 119
- tools/testing/selftests/bpf/prog_tests/sk_assign.c, line 239
- tools/testing/selftests/bpf/prog_tests/sk_lookup.c, 2 times
- tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c, line 27
- tools/testing/selftests/bpf/prog_tests/test_local_storage.c, line 124
- tools/testing/selftests/bpf/prog_tests/test_struct_ops_no_cfi.c, line 11
- tools/testing/selftests/bpf/prog_tests/tp_attach_query.c, line 26
- tools/testing/selftests/bpf/prog_tests/verify_pkcs7_sig.c, 4 times
- tools/testing/selftests/bpf/prog_tests/xdp_bonding.c, 2 times
- tools/testing/selftests/bpf/test_lirc_mode2_user.c, line 82
- tools/testing/selftests/bpf/test_progs.c, 2 times
- tools/testing/selftests/bpf/test_sockmap.c, line 1983
- tools/testing/selftests/bpf/test_sysctl.c, 34 times
- tools/testing/selftests/bpf/testing_helpers.c, 2 times
- tools/testing/selftests/bpf/trace_helpers.c, line 365
- tools/testing/selftests/bpf/unpriv_helpers.c, line 17
- tools/testing/selftests/bpf/urandom_read.c, line 61
- tools/testing/selftests/bpf/veristat.c, line 379
- tools/testing/selftests/cachestat/test_cachestat.c, 2 times
- tools/testing/selftests/capabilities/test_execve.c, 2 times
- tools/testing/selftests/cgroup/cgroup_util.c, line 28
- tools/testing/selftests/cgroup/test_core.c, line 28
- tools/testing/selftests/cgroup/test_hugetlb_memcg.c, line 28
- tools/testing/selftests/cgroup/test_kmem.c, line 224
- tools/testing/selftests/cgroup/wait_inotify.c, line 49
- tools/testing/selftests/core/close_range_test.c, 5 times
- tools/testing/selftests/efivarfs/open-unlink.c, 3 times
- tools/testing/selftests/exec/execveat.c, 19 times
- tools/testing/selftests/filelock/ofdlocks.c, line 40
- tools/testing/selftests/filesystems/binderfs/binderfs_test.c, 5 times
- tools/testing/selftests/filesystems/dnotify_test.c, line 26
- tools/testing/selftests/filesystems/statmount/statmount_test_ns.c, line 63
- tools/testing/selftests/fpu/test_fpu.c, line 21
- tools/testing/selftests/hid/hid_bpf.c, line 351
- tools/testing/selftests/intel_pstate/aperf.c, line 47
- tools/testing/selftests/intel_pstate/msr.c, line 29
- tools/testing/selftests/iommu/iommufd.c, 2 times
- tools/testing/selftests/kvm/access_tracking_perf_test.c, line 145
- tools/testing/selftests/kvm/lib/elf.c, 2 times
- tools/testing/selftests/kvm/lib/kvm_util.c, 2 times
- tools/testing/selftests/kvm/s390x/shared_zeropage_test.c, line 75
- tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c, line 466
- tools/testing/selftests/landlock/base_test.c, 9 times
- tools/testing/selftests/landlock/fs_test.c, 242 times
- tools/testing/selftests/landlock/net_test.c, 2 times
- tools/testing/selftests/landlock/ptrace_test.c, 2 times
- tools/testing/selftests/lsm/common.c, line 32
- tools/testing/selftests/memfd/fuse_mnt.c, line 66
- tools/testing/selftests/memfd/fuse_test.c, line 262
- tools/testing/selftests/memfd/memfd_test.c, 2 times
- tools/testing/selftests/mm/compaction_test.c, line 63
- tools/testing/selftests/mm/cow.c, 2 times
- tools/testing/selftests/mm/hmm-tests.c, 2 times
- tools/testing/selftests/mm/hugepage-vmemmap.c, 2 times
- tools/testing/selftests/mm/khugepaged.c, line 392
- tools/testing/selftests/mm/ksm_functional_tests.c, 4 times
- tools/testing/selftests/mm/ksm_tests.c, line 572
- tools/testing/selftests/mm/madv_populate.c, 4 times
- tools/testing/selftests/mm/mkdirty.c, line 344
- tools/testing/selftests/mm/pagemap_ioctl.c, 3 times
- tools/testing/selftests/mm/protection_keys.c, 2 times
- tools/testing/selftests/mm/soft-dirty.c, line 198
- tools/testing/selftests/mm/split_huge_page_test.c, 2 times
- tools/testing/selftests/mm/thp_settings.c, line 50
- tools/testing/selftests/mm/transhuge-stress.c, line 72
- tools/testing/selftests/mm/uffd-unit-tests.c, line 221
- tools/testing/selftests/mm/vm_util.c, line 159
- tools/testing/selftests/mount_setattr/mount_setattr_test.c, 3 times
- tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c, 3 times
- tools/testing/selftests/net/ipsec.c, line 148
- tools/testing/selftests/net/ipv6_flowlabel.c, line 159
- tools/testing/selftests/net/mptcp/mptcp_connect.c, 3 times
- tools/testing/selftests/net/mptcp/mptcp_sockopt.c, line 809
- tools/testing/selftests/net/psock_tpacket.c, line 763
- tools/testing/selftests/net/tcp_ao/lib/setup.c, line 117
- tools/testing/selftests/net/tcp_mmap.c, line 431
- tools/testing/selftests/net/tls.c, 2 times
- tools/testing/selftests/nolibc/nolibc-test.c, 3 times
- tools/testing/selftests/nsfs/owner.c, line 56
- tools/testing/selftests/nsfs/pidns.c, line 56
- tools/testing/selftests/openat2/openat2_test.c, 13 times
- tools/testing/selftests/openat2/resolve_test.c, line 131
- tools/testing/selftests/pidfd/pidfd_setns_test.c, 6 times
- tools/testing/selftests/pidfd/pidfd_wait.c, 2 times
- tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c, 4 times
- tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c, 8 times
- tools/testing/selftests/powerpc/ptrace/core-pkey.c, line 323
- tools/testing/selftests/powerpc/utils.c, 2 times
- tools/testing/selftests/proc/fd-002-posix-eq.c, 3 times
- tools/testing/selftests/proc/fd-003-kthread.c, 3 times
- tools/testing/selftests/proc/proc-2-is-kthread.c, line 42
- tools/testing/selftests/proc/proc-empty-vm.c, 5 times
- tools/testing/selftests/proc/proc-loadavg-001.c, line 44
- tools/testing/selftests/proc/proc-pid-vm.c, 7 times
- tools/testing/selftests/proc/proc-self-isnt-kthread.c, line 25
- tools/testing/selftests/proc/proc-self-map-files-001.c, line 54
- tools/testing/selftests/proc/proc-self-map-files-002.c, line 60
- tools/testing/selftests/proc/proc-self-syscall.c, line 37
- tools/testing/selftests/proc/proc-self-wchan.c, line 27
- tools/testing/selftests/proc/proc-subset-pid.c, line 117
- tools/testing/selftests/proc/proc-uptime-001.c, line 33
- tools/testing/selftests/proc/proc-uptime-002.c, line 62
- tools/testing/selftests/proc/read.c, 2 times
- tools/testing/selftests/proc/setns-dcache.c, 3 times
- tools/testing/selftests/proc/setns-sysvipc.c, 3 times
- tools/testing/selftests/ptrace/vmaccess.c, line 39
- tools/testing/selftests/ring-buffer/map_test.c, line 90
- tools/testing/selftests/rtc/rtctest.c, line 33
- tools/testing/selftests/rtc/setdate.c, line 41
- tools/testing/selftests/seccomp/seccomp_bpf.c, line 765
- tools/testing/selftests/sgx/load.c, line 51
- tools/testing/selftests/splice/splice_read.c, line 23
- tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c, line 68
- tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c, line 111
- tools/testing/selftests/timens/clock_nanosleep.c, line 132
- tools/testing/selftests/timens/gettime_perf.c, line 84
- tools/testing/selftests/timens/procfs.c, 2 times
- tools/testing/selftests/timens/timens.c, 2 times
- tools/testing/selftests/timers/clocksource-switch.c, 2 times
- tools/testing/selftests/timers/mqueue-lat.c, line 66
- tools/testing/selftests/timers/rtcpie.c, 2 times
- tools/testing/selftests/user_events/dyn_test.c, line 44
- tools/testing/selftests/user_events/ftrace_test.c, 3 times
- tools/testing/selftests/wireguard/qemu/init.c, 2 times
- tools/testing/selftests/x86/lam.c, line 579
- tools/thermal/thermometer/thermometer.c, line 265
- tools/tracing/latency/latency-collector.c, 2 times
- tools/tracing/rtla/src/timerlat_u.c, line 80
- tools/tracing/rtla/src/trace.c, line 78
- tools/tracing/rtla/src/utils.c, 2 times
- tools/usb/usbip/libsrc/usbip_host_common.c, line 46
- tools/virtio/virtio-trace/trace-agent-ctl.c, line 36
- tools/virtio/virtio-trace/trace-agent-rw.c, line 49
- usr/gen_init_cpio.c, line 340
- virt/kvm/kvm_main.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.