/linux/tools/testing/selftests/exec/ |
H A D | execveat.c | 211 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax() 288 fail += check_execveat(fd, "", AT_EMPTY_PATH); in run_tests() 290 fail += check_execveat(fd_cloexec, "", AT_EMPTY_PATH); in run_tests() 292 fail += check_execveat(fd_path, "", AT_EMPTY_PATH); in run_tests() 297 fail += check_execveat(fd_ephemeral, "", AT_EMPTY_PATH); in run_tests() 300 fail += check_execveat(fd_ephemeral, "", AT_EMPTY_PATH); in run_tests() 305 fail += check_execveat(fd_ephemeral_path, "", AT_EMPTY_PATH); in run_tests() 309 fail += check_execveat_fail(fd, NULL, AT_EMPTY_PATH, EFAULT); in run_tests() 318 fail += check_execveat(fd_symlink, "", AT_EMPTY_PATH); in run_tests() 320 AT_EMPTY_PATH|AT_SYMLINK_NOFOLLOW); in run_tests() [all …]
|
/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 365 ret = sys_mount_setattr(-EBADF, "", AT_EMPTY_PATH, NULL, 0); in mount_setattr_supported() 992 ret = sys_mount_setattr(fd, "", AT_EMPTY_PATH | AT_RECURSIVE, &attr, sizeof(attr)); in TEST_F() 1146 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F() 1248 AT_EMPTY_PATH | in TEST_F() 1256 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F() 1278 AT_EMPTY_PATH | in TEST_F() 1288 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, in TEST_F() 1308 AT_EMPTY_PATH | in TEST_F() 1319 AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F() 1338 AT_EMPTY_PATH | in TEST_F() [all...] |
/linux/fs/ |
H A D | xattr.c | 695 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_setxattrat() 761 return path_setxattrat(fd, NULL, AT_EMPTY_PATH, name, in SYSCALL_DEFINE5() 842 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_getxattrat() 904 return path_getxattrat(fd, NULL, AT_EMPTY_PATH, name, value, size); in SYSCALL_DEFINE4() 976 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_listxattrat() 1012 return path_listxattrat(fd, NULL, AT_EMPTY_PATH, list, size); in SYSCALL_DEFINE3() 1073 if ((at_flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in path_removexattrat() 1111 return path_removexattrat(fd, NULL, AT_EMPTY_PATH, name); in SYSCALL_DEFINE2()
|
H 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()
|
H A D | open.c | 470 if (flags & ~(AT_EACCESS | AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_faccessat() 475 if (flags & AT_EMPTY_PATH) in do_faccessat() 676 if (unlikely(flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH))) in do_fchmodat() 680 if (flags & AT_EMPTY_PATH) in do_fchmodat() 796 if ((flag & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_fchownat() 800 if (flag & AT_EMPTY_PATH) in do_fchownat()
|
H A D | stat.c | 339 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT | AT_EMPTY_PATH | in vfs_statx()
|
H A D | namespace.c | 2854 if (flags & ~(AT_EMPTY_PATH | AT_NO_AUTOMOUNT | AT_RECURSIVE | in SYSCALL_DEFINE3() 2866 if (flags & AT_EMPTY_PATH) in SYSCALL_DEFINE3() 4730 if (flags & AT_EMPTY_PATH) in build_mount_kattr() 4808 if (flags & ~(AT_EMPTY_PATH | in SYSCALL_DEFINE5()
|
H A D | namei.c | 216 int flags = (uflags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in getname_uflags() 4827 if ((flags & ~(AT_SYMLINK_FOLLOW | AT_EMPTY_PATH)) != 0) { in do_linkat() 4837 if (flags & AT_EMPTY_PATH) in do_linkat()
|
/linux/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 54 if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { in main()
|
/linux/tools/include/uapi/linux/ |
H A D | fcntl.h |
|
/linux/include/uapi/linux/ |
H A D | fcntl.h | 107 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative macro
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | fcntl.h | 107 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative macro
|
/linux/tools/testing/selftests/filesystems/overlayfs/ |
H A D | dev_in_maps.c | 118 if (statx(fd, "", AT_EMPTY_PATH | AT_STATX_SYNC_AS_STAT, STATX_INO, &stx))
|
/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 227 execveat(stub_exe_fd, "", argv, NULL, AT_EMPTY_PATH); in userspace_tramp()
|
/linux/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 328 sys_execveat(exec_fd, "", NULL, NULL, AT_EMPTY_PATH); in main()
|
/linux/Documentation/process/ |
H 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/Documentation/translations/it_IT/process/ |
H 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/Documentation/translations/sp_SP/process/ |
H A D | adding-syscalls.rst | 160 un descriptor de archivo ya abierto usando el flag ``AT_EMPTY_PATH``, 164 - xyzzyat(fd, "", ..., AT_EMPTY_PATH) es equivalente a fxyzzy(fd, ...) 167 revise el man page :manpage:`openat(2)`; para un ejemplo de AT_EMPTY_PATH,
|
/linux/include/linux/ |
H A D | fs.h | 2795 if (!(flags & AT_EMPTY_PATH)) in getname_maybe_null()
|
/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 2424 AT_EMPTY_PATH | OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F_FORK()
|