Home
last modified time | relevance | path

Searched refs:AT_EMPTY_PATH (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/tools/testing/selftests/exec/
Dexecveat.c198 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
272 fail += check_execveat(fd, "", AT_EMPTY_PATH); in run_tests()
274 fail += check_execveat(fd_cloexec, "", AT_EMPTY_PATH); in run_tests()
276 fail += check_execveat(fd_path, "", AT_EMPTY_PATH); in run_tests()
281 fail += check_execveat(fd_ephemeral, "", AT_EMPTY_PATH); in run_tests()
284 fail += check_execveat(fd_ephemeral, "", AT_EMPTY_PATH); in run_tests()
289 fail += check_execveat(fd_ephemeral_path, "", AT_EMPTY_PATH); in run_tests()
293 fail += check_execveat_fail(fd, NULL, AT_EMPTY_PATH, EFAULT); in run_tests()
302 fail += check_execveat(fd_symlink, "", AT_EMPTY_PATH); in run_tests()
304 AT_EMPTY_PATH|AT_SYMLINK_NOFOLLOW); in run_tests()
[all …]
/linux-5.19.10/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c371 ret = sys_mount_setattr(-EBADF, "", AT_EMPTY_PATH, NULL, 0); in mount_setattr_supported()
998 ret = sys_mount_setattr(fd, "", AT_EMPTY_PATH | AT_RECURSIVE, &attr, sizeof(attr)); in TEST_F()
1152 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F()
1254 AT_EMPTY_PATH | in TEST_F()
1262 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F()
1284 AT_EMPTY_PATH | in TEST_F()
1294 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, in TEST_F()
1314 AT_EMPTY_PATH | in TEST_F()
1325 AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F()
1344 AT_EMPTY_PATH | in TEST_F()
[all …]
/linux-5.19.10/tools/testing/selftests/tmpfs/
Dbug-link-o-tmpfile.c54 if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { in main()
/linux-5.19.10/tools/include/uapi/linux/
Dfcntl.h105 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
/linux-5.19.10/include/uapi/linux/
Dfcntl.h105 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
/linux-5.19.10/fs/
Dfhandle.c101 if ((flag & ~(AT_SYMLINK_FOLLOW | AT_EMPTY_PATH)) != 0) in SYSCALL_DEFINE5()
105 if (flag & AT_EMPTY_PATH) in SYSCALL_DEFINE5()
Dutimes.c85 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_utimes_path()
90 if (flags & AT_EMPTY_PATH) in do_utimes_path()
Dopen.c431 if (flags & ~(AT_EACCESS | AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_faccessat()
436 if (flags & AT_EMPTY_PATH) in do_faccessat()
722 if ((flag & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_fchownat()
726 if (flag & AT_EMPTY_PATH) in do_fchownat()
Dstat.c195 if (flags & AT_EMPTY_PATH) in getname_statx_lookup_flags()
223 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT | AT_EMPTY_PATH | in vfs_statx()
Dexec.c915 if ((flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_open_execat()
919 if (flags & AT_EMPTY_PATH) in do_open_execat()
Dnamespace.c2515 if (flags & ~(AT_EMPTY_PATH | AT_NO_AUTOMOUNT | AT_RECURSIVE | in SYSCALL_DEFINE3()
2527 if (flags & AT_EMPTY_PATH) in SYSCALL_DEFINE3()
4264 if (flags & AT_EMPTY_PATH) in build_mount_kattr()
4339 if (flags & ~(AT_EMPTY_PATH | in SYSCALL_DEFINE5()
Dnamei.c210 int flags = (uflags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in getname_uflags()
4507 if ((flags & ~(AT_SYMLINK_FOLLOW | AT_EMPTY_PATH)) != 0) { in do_linkat()
4516 if (flags & AT_EMPTY_PATH && !capable(CAP_DAC_READ_SEARCH)) { in do_linkat()
/linux-5.19.10/tools/testing/selftests/proc/
Dproc-pid-vm.c289 sys_execveat(exec_fd, "", NULL, NULL, AT_EMPTY_PATH); in main()
/linux-5.19.10/Documentation/process/
Dadding-syscalls.rst140 already-opened file descriptor using the ``AT_EMPTY_PATH`` flag, effectively
144 - xyzzyat(fd, "", ..., AT_EMPTY_PATH) is equivalent to fxyzzy(fd, ...)
147 :manpage:`openat(2)` man page; for an example of AT_EMPTY_PATH, see the
/linux-5.19.10/Documentation/translations/it_IT/process/
Dadding-syscalls.rst156 ``AT_EMPTY_PATH``, in pratica otterremmo gratuitamente l'operazione
160 - xyzzyat(fd, "", ..., AT_EMPTY_PATH) is equivalent to fxyzzy(fd, ...)
163 man :manpage:`openat(2)`; per un esempio di AT_EMPTY_PATH, leggere la pagina
/linux-5.19.10/Documentation/filesystems/
Dpath-lookup.rst55 in Linux permit it when the ``AT_EMPTY_PATH`` flag is given. For
58 the file descriptor, an empty path, and the ``AT_EMPTY_PATH`` flag.