/linux-6.3-rc2/tools/testing/selftests/exec/ |
A 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() 302 fail += check_execveat(fd_symlink, "", AT_EMPTY_PATH); in run_tests() 304 AT_EMPTY_PATH|AT_SYMLINK_NOFOLLOW); in run_tests() 328 fail += check_execveat(fd_script, "", AT_EMPTY_PATH); in run_tests() 330 AT_EMPTY_PATH|AT_SYMLINK_NOFOLLOW); in run_tests() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/mount_setattr/ |
A D | mount_setattr_test.c | 364 ret = sys_mount_setattr(-EBADF, "", AT_EMPTY_PATH, NULL, 0); in mount_setattr_supported() 1247 AT_EMPTY_PATH | in TEST_F() 1277 AT_EMPTY_PATH | in TEST_F() 1287 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, in TEST_F() 1307 AT_EMPTY_PATH | in TEST_F() 1318 AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F() 1337 AT_EMPTY_PATH | in TEST_F() 1350 AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F() 1369 AT_EMPTY_PATH | in TEST_F() 1379 AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/tmpfs/ |
A D | bug-link-o-tmpfile.c | 54 if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { in main()
|
/linux-6.3-rc2/fs/ |
A 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()
|
A D | utimes.c | 86 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_utimes_path() 91 if (flags & AT_EMPTY_PATH) in do_utimes_path()
|
A D | open.c | 468 if (flags & ~(AT_EACCESS | AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_faccessat() 473 if (flags & AT_EMPTY_PATH) in do_faccessat() 792 if ((flag & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_fchownat() 796 if (flag & AT_EMPTY_PATH) in do_fchownat()
|
A D | stat.c | 205 if (flags & AT_EMPTY_PATH) in getname_statx_lookup_flags() 233 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT | AT_EMPTY_PATH | in vfs_statx()
|
A D | exec.c | 911 if ((flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_open_execat() 915 if (flags & AT_EMPTY_PATH) in do_open_execat()
|
A D | namespace.c | 2517 if (flags & ~(AT_EMPTY_PATH | AT_NO_AUTOMOUNT | AT_RECURSIVE | in SYSCALL_DEFINE3() 2529 if (flags & AT_EMPTY_PATH) in SYSCALL_DEFINE3() 4267 if (flags & AT_EMPTY_PATH) in build_mount_kattr() 4345 if (flags & ~(AT_EMPTY_PATH | in SYSCALL_DEFINE5()
|
A D | namei.c | 211 int flags = (uflags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in getname_uflags() 4556 if ((flags & ~(AT_SYMLINK_FOLLOW | AT_EMPTY_PATH)) != 0) { in do_linkat() 4565 if (flags & AT_EMPTY_PATH && !capable(CAP_DAC_READ_SEARCH)) { in do_linkat()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | fcntl.h | 106 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | fcntl.h | 106 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
|
/linux-6.3-rc2/tools/testing/selftests/proc/ |
A D | proc-pid-vm.c | 327 sys_execveat(exec_fd, "", NULL, NULL, AT_EMPTY_PATH); in main()
|
/linux-6.3-rc2/Documentation/process/ |
A 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-6.3-rc2/Documentation/translations/it_IT/process/ |
A 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-6.3-rc2/Documentation/filesystems/ |
A 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.
|