Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/exec/
H A Dexecveat.c211 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 Dmount_setattr_test.c365 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 Dxattr.c695 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 Dutimes.c86 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) in do_utimes_path()
91 if (flags & AT_EMPTY_PATH) in do_utimes_path()
H A Dopen.c470 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 Dstat.c339 if (flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT | AT_EMPTY_PATH | in vfs_statx()
H A Dnamespace.c2854 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 Dnamei.c216 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 Dbug-link-o-tmpfile.c54 if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { in main()
/linux/tools/include/uapi/linux/
H A Dfcntl.h
/linux/include/uapi/linux/
H A Dfcntl.h107 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h107 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative macro
/linux/tools/testing/selftests/filesystems/overlayfs/
H A Ddev_in_maps.c118 if (statx(fd, "", AT_EMPTY_PATH | AT_STATX_SYNC_AS_STAT, STATX_INO, &stx))
/linux/arch/um/os-Linux/skas/
H A Dprocess.c227 execveat(stub_exe_fd, "", argv, NULL, AT_EMPTY_PATH); in userspace_tramp()
/linux/tools/testing/selftests/proc/
H A Dproc-pid-vm.c328 sys_execveat(exec_fd, "", NULL, NULL, AT_EMPTY_PATH); in main()
/linux/Documentation/process/
H A 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/Documentation/translations/it_IT/process/
H A 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/Documentation/translations/sp_SP/process/
H A Dadding-syscalls.rst160 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 Dfs.h2795 if (!(flags & AT_EMPTY_PATH)) in getname_maybe_null()
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c2424 AT_EMPTY_PATH | OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F_FORK()