/linux-5.19.10/tools/testing/selftests/exec/ |
D | execveat.c | 198 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/ |
D | mount_setattr_test.c | 371 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/ |
D | bug-link-o-tmpfile.c | 54 if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { in main()
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | fcntl.h | 105 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
|
/linux-5.19.10/include/uapi/linux/ |
D | fcntl.h | 105 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
|
/linux-5.19.10/fs/ |
D | fhandle.c | 101 if ((flag & ~(AT_SYMLINK_FOLLOW | AT_EMPTY_PATH)) != 0) in SYSCALL_DEFINE5() 105 if (flag & AT_EMPTY_PATH) in SYSCALL_DEFINE5()
|
D | utimes.c | 85 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_utimes_path() 90 if (flags & AT_EMPTY_PATH) in do_utimes_path()
|
D | open.c | 431 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()
|
D | stat.c | 195 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()
|
D | exec.c | 915 if ((flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_open_execat() 919 if (flags & AT_EMPTY_PATH) in do_open_execat()
|
D | namespace.c | 2515 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()
|
D | namei.c | 210 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/ |
D | proc-pid-vm.c | 289 sys_execveat(exec_fd, "", NULL, NULL, AT_EMPTY_PATH); in main()
|
/linux-5.19.10/Documentation/process/ |
D | adding-syscalls.rst | 140 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/ |
D | adding-syscalls.rst | 156 ``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/ |
D | path-lookup.rst | 55 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.
|