Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/exec/
A 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()
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 Dmount_setattr_test.c364 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 Dbug-link-o-tmpfile.c54 if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { in main()
/linux-6.3-rc2/fs/
A Dfhandle.c101 if ((flag & ~(AT_SYMLINK_FOLLOW | AT_EMPTY_PATH)) != 0) in SYSCALL_DEFINE5()
105 if (flag & AT_EMPTY_PATH) in SYSCALL_DEFINE5()
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()
A Dopen.c468 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 Dstat.c205 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 Dexec.c911 if ((flags & ~(AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH)) != 0) in do_open_execat()
915 if (flags & AT_EMPTY_PATH) in do_open_execat()
A Dnamespace.c2517 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 Dnamei.c211 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 Dfcntl.h106 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
/linux-6.3-rc2/tools/include/uapi/linux/
A Dfcntl.h106 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
/linux-6.3-rc2/tools/testing/selftests/proc/
A Dproc-pid-vm.c327 sys_execveat(exec_fd, "", NULL, NULL, AT_EMPTY_PATH); in main()
/linux-6.3-rc2/Documentation/process/
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-6.3-rc2/Documentation/translations/it_IT/process/
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-6.3-rc2/Documentation/filesystems/
A 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.

Completed in 47 milliseconds