Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/OK3568_Linux_fs/kernel/tools/testing/selftests/exec/
H A Dexecveat.c142 int in_fd = open_or_die(src, O_RDONLY); in exe_cp()
194 fd = open(longpath, O_RDONLY); in check_execveat_pathmax()
230 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests()
232 O_DIRECTORY|O_RDONLY); in run_tests()
233 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests()
234 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests()
235 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests()
236 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
237 int fd = open_or_die("execveat", O_RDONLY); in run_tests()
238 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); in run_tests()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_sysctl.c55 .open_flags = O_RDONLY,
66 .open_flags = O_RDONLY,
77 .open_flags = O_RDONLY,
98 .open_flags = O_RDONLY,
158 .open_flags = O_RDONLY,
179 .open_flags = O_RDONLY,
206 .open_flags = O_RDONLY,
222 .open_flags = O_RDONLY,
264 .open_flags = O_RDONLY,
306 .open_flags = O_RDONLY,
[all …]
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/testdir/
H A Dlarge.txt5 open("/user/folk/clint/lib/tls/i686/sse2/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such f…
7 open("/user/folk/clint/lib/tls/i686/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file o…
9 open("/user/folk/clint/lib/tls/sse2/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file o…
11 open("/user/folk/clint/lib/tls/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or dir…
13 open("/user/folk/clint/lib/i686/sse2/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file …
15 open("/user/folk/clint/lib/i686/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or di…
17 open("/user/folk/clint/lib/sse2/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or di…
19 open("/user/folk/clint/lib/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directo…
21 open("/opt/kde3/lib/tls/i686/sse2/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or …
23 open("/opt/kde3/lib/tls/i686/libgimpwidgets-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or direc…
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dopenat2_test.c53 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
57 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
64 .arg.inner.flags = O_RDONLY, .size = 0, .err = -EINVAL }, in test_openat2_struct()
66 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
71 .arg.inner.flags = O_RDONLY, .arg.extra1 = 0xdeadbeef, in test_openat2_struct()
74 .arg.inner.flags = O_RDONLY, .arg.extra2 = 0xfeedcafe, in test_openat2_struct()
77 .arg.inner.flags = O_RDONLY, .arg.extra3 = 0xabad1dea, in test_openat2_struct()
192 .how.flags = O_RDONLY, .how.mode = 0600, .err = -EINVAL }, in test_openat2_flags()
215 .how.flags = O_RDONLY, in test_openat2_flags()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A DCVE-2019-13636.patch30 - int ifd = safe_open (filename, O_RDONLY|binary_transput, 0);
31 + int flags = O_RDONLY | binary_transput;
45 + int flags = O_RDONLY | binary_transput;
53 - if ((ifd = safe_open (filename, O_RDONLY | binary_transput, 0)) < 0
77 + int from_flags = O_RDONLY | O_BINARY;
81 - if ((fromfd = safe_open (from, O_RDONLY | O_BINARY, 0)) < 0)
/OK3568_Linux_fs/buildroot/package/patch/
H A D0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch28 - int ifd = safe_open (filename, O_RDONLY|binary_transput, 0);
29 + int flags = O_RDONLY | binary_transput;
43 + int flags = O_RDONLY | binary_transput;
51 - if ((ifd = safe_open (filename, O_RDONLY | binary_transput, 0)) < 0
75 + int from_flags = O_RDONLY | O_BINARY;
79 - if ((fromfd = safe_open (from, O_RDONLY | O_BINARY, 0)) < 0)
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dfd-002-posix-eq.c32 fd0 = open("/", O_DIRECTORY|O_RDONLY); in main()
36 fd1 = open(buf, O_RDONLY); in main()
40 fd2 = open(buf, O_RDONLY); in main()
H A Dsetns-dcache.c95 nsfd = open(buf, O_RDONLY); in main()
102 (void)open("/proc/net/unix", O_RDONLY); in main()
116 fd = open("/proc/net/unix", O_RDONLY); in main()
H A Dsetns-sysvipc.c94 nsfd = open(buf, O_RDONLY); in main()
101 (void)open("/proc/sysvipc/shm", O_RDONLY); in main()
115 fd = open("/proc/sysvipc/shm", O_RDONLY); in main()
H A Dproc-pid-vm.c205 fd1 = open(buf, O_RDONLY|O_CLOEXEC); in make_exe()
269 if (open("/", O_RDONLY|O_DIRECTORY|O_PATH) != 0) { in main()
321 fd = open(buf, O_RDONLY); in main()
340 fd = open(buf, O_RDONLY); in main()
396 fd = open(buf, O_RDONLY); in main()
432 fd = open(buf, O_RDONLY); in main()
H A Dfd-003-kthread.c48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY); in kernel_thread_fd()
56 fd = openat(dir_fd, "stat", O_RDONLY); in kernel_thread_fd()
90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY); in kernel_thread_fd()
/OK3568_Linux_fs/external/recovery/
H A Drktools.c46 fd = open("/proc/cmdline", O_RDONLY); in getSerial()
89 int fd = openat(dirfd(dir), name, O_RDONLY); in readFile()
191 fd = open("/proc/cmdline", O_RDONLY); in isMtdDevice()
216 fd = open(MTD_PATH, O_RDONLY); in isMtdDevice()
/OK3568_Linux_fs/kernel/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c20 fd = open(path, O_RDONLY); in set_immutable()
51 fd = open(path, O_RDONLY); in get_immutable()
115 fd = open(path, O_RDONLY); in main()
/OK3568_Linux_fs/kernel/samples/timers/
H A Dhpet_example.c89 fd = open(argv[0], O_RDONLY); in hpet_open_close()
109 fd = open(argv[0], O_RDONLY); in hpet_info()
149 fd = open(argv[0], O_RDONLY); in hpet_poll()
243 fd = open(argv[0], O_RDONLY); in hpet_fasync()
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/shadow/files/
H A Dcommonio.c-fix-unexpected-open-failure-in-chroot-env.patch32 - (db->readonly ? O_RDONLY : O_RDWR)
37 + (true ? O_RDONLY : O_RDWR)
42 + (false ? O_RDONLY : O_RDWR)
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_custom_sec.c253 fp = filp_open(filepath, O_RDONLY, 0);
373 fp = filp_open(filepath, O_RDONLY, 0);
508 fp = filp_open(filepath, O_RDONLY, 0);
591 fp = filp_open(filepath, O_RDONLY, 0);
772 nvfp = filp_open(nvram_p, O_RDONLY, 0);
816 fp = filp_open(filepath, O_RDONLY, 0);
987 fp = filp_open(filepath, O_RDONLY, 0);
1022 fp = filp_open(filepath, O_RDONLY, 0);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_custom_sec.c253 fp = filp_open(filepath, O_RDONLY, 0);
373 fp = filp_open(filepath, O_RDONLY, 0);
508 fp = filp_open(filepath, O_RDONLY, 0);
591 fp = filp_open(filepath, O_RDONLY, 0);
772 nvfp = filp_open(nvram_p, O_RDONLY, 0);
816 fp = filp_open(filepath, O_RDONLY, 0);
987 fp = filp_open(filepath, O_RDONLY, 0);
1022 fp = filp_open(filepath, O_RDONLY, 0);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dsar.c198 fp = filp_open(sc->sh->cfg.flash_bin_path, O_RDONLY, 0); in get_flash_info()
200 fp = filp_open(SEC_CFG_BIN_NAME, O_RDONLY, 0); in get_flash_info()
204 fp = filp_open(DEFAULT_CFG_BIN_NAME, O_RDONLY, 0); in get_flash_info()
206 fp = filp_open(SEC_CFG_BIN_NAME, O_RDONLY, 0); in get_flash_info()
/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/
H A Dincfs_stress.c110 O_RDONLY | O_CLOEXEC); in reader()
187 O_RDONLY | O_CLOEXEC); in test_files()
302 src_dir_fd = open(src_dir, O_RDONLY | O_CLOEXEC); in main()
303 dst_dir_fd = open(dst_dir, O_RDONLY | O_CLOEXEC); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dd_path.c44 procfd = open("/proc/self/comm", O_RDONLY); in trigger_fstat_events()
47 devfd = open("/dev/urandom", O_RDONLY); in trigger_fstat_events()
50 localfd = open("/tmp/d_path_loadgen.txt", O_CREAT | O_RDONLY, 0644); in trigger_fstat_events()
/OK3568_Linux_fs/external/recovery/update_engine/
H A Drktools.c102 fd = open("/proc/cmdline", O_RDONLY); in isMtdDevice()
127 fd = open(MTD_PATH, O_RDONLY); in isMtdDevice()
155 int fd = open("/proc/cmdline", O_RDONLY); in getCurrentSlot()
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c93 fd = open("/proc/self/ns/time_for_children", O_RDONLY | O_CLOEXEC); in switch_timens()
144 self->nsfds[i] = openat(proc_fd, info->name, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
237 self->nsfds[i] = openat(proc_fd, info->name, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
250 self->child_nsfds1[i] = open(p, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
263 self->child_nsfds2[i] = open(p, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
311 return open(path, O_RDONLY | O_CLOEXEC); in preserve_ns()
/OK3568_Linux_fs/kernel/tools/testing/selftests/core/
H A Dclose_range_test.c44 fd = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()
108 fd = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()
197 fd = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dcgroup.c193 cgroup_fd = open(path, O_RDONLY); in do_show()
252 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn()
393 cgroup_fd = open(argv[0], O_RDONLY); in do_attach()
451 cgroup_fd = open(argv[0], O_RDONLY); in do_detach()
/OK3568_Linux_fs/kernel/kernel/power/
H A Duser.c71 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) { in snapshot_open()
74 data->mode = O_RDONLY; in snapshot_open()
123 pm_notifier_call_chain(data->mode == O_RDONLY ? in snapshot_release()
302 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()

12345678910>>...24