Home
last modified time | relevance | path

Searched refs:openat (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/proc/
Dread.c45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); in f_reg()
60 fd = openat(dirfd(d), filename, O_WRONLY); in f_reg_write()
109 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY); in f()
Dfd-003-kthread.c56 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()
Dproc-pid-vm.c196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/linux-6.1.9/tools/testing/selftests/tmpfs/
Dbug-link-o-tmpfile.c49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
/linux-6.1.9/tools/testing/selftests/openat2/
Dhelpers.c35 int ret = openat(dfd, path, how->flags, how->mode); in sys_openat()
49 int fd = openat(dfd, path, O_CREAT, 0700); in touchat()
Drename_attack_test.c102 afd = openat(dfd, "a", O_PATH); in test_rename_attack()
Dresolve_test.c65 tmpfd = openat(dfd, "root", O_PATH | O_DIRECTORY); in setup_testdir()
459 dfd = openat(rootfd, test->dir, O_PATH | O_DIRECTORY); in test_openat2_opath_tests()
/linux-6.1.9/tools/perf/examples/bpf/
Dhello.c3 int syscall_enter(openat)(void *args) in syscall_enter() argument
Dsys_enter_openat.c28 int syscall_enter(openat)(struct syscall_enter_openat_args *args) in syscall_enter() argument
Detcsnoop.c64 augmented_filename_syscall_enter(openat);
Daugmented_syscalls.c72 augmented_filename_syscall(openat);
/linux-6.1.9/tools/perf/tests/
DBuild9 perf-y += openat-syscall.o
10 perf-y += openat-syscall-all-cpus.o
11 perf-y += openat-syscall-tp-fields.o
Dopenat-syscall.c48 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event()
Dopenat-syscall-all-cpus.c85 fd = openat(0, "/etc/passwd", O_RDONLY); in test__openat_syscall_event_on_all_cpus()
Dopenat-syscall-tp-fields.c87 openat(AT_FDCWD, filename, flags); in test__syscall_openat_tp_fields()
/linux-6.1.9/tools/perf/trace/strace/groups/
Dfile10 openat
Dstring42 openat
/linux-6.1.9/samples/pidfd/
Dpidfd-metadata.c105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC); in main()
/linux-6.1.9/tools/perf/Documentation/
Dperf-trace.txt283 Trace the first 4 open, openat or open_by_handle_at syscalls (in the future more syscalls may match…
287 2272.992 ( 0.037 ms): gnome-shell/1370 openat(dfd: CWD, filename: /proc/self/stat) = 31
288 2277.481 ( 0.139 ms): gnome-shell/3039 openat(dfd: CWD, filename: /proc/self/stat) = 65
289 3026.398 ( 0.076 ms): gnome-shell/3039 openat(dfd: CWD, filename: /proc/self/stat) = 65
290 4294.665 ( 0.015 ms): sed/15879 openat(dfd: CWD, filename: /etc/ld.so.cache, flags: CLOEXEC) = 3
/linux-6.1.9/tools/testing/selftests/pidfd/
Dpidfd_setns_test.c144 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()
/linux-6.1.9/tools/testing/selftests/capabilities/
Dtest_execve.c156 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()
/linux-6.1.9/fs/
Dopen.c1337 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, in SYSCALL_DEFINE4() argument
1384 COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode) in COMPAT_SYSCALL_DEFINE4() argument
/linux-6.1.9/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl258 247 n64 openat sys_openat
/linux-6.1.9/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl258 247 n64 openat sys_openat
/linux-6.1.9/arch/ia64/kernel/syscalls/
Dsyscall.tbl269 257 common openat sys_openat

12