Symbol: AT_FDCWD
arch/alpha/kernel/osf_sys.c
1019
return do_utimes(AT_FDCWD, filename, tvs ? tv : NULL, 0);
arch/powerpc/platforms/cell/spufs/syscalls.c
70
dentry = start_creating_user_path(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY);
drivers/base/devtmpfs.c
178
dentry = start_creating_path(AT_FDCWD, name, &path, LOOKUP_DIRECTORY);
drivers/base/devtmpfs.c
224
dentry = start_creating_path(AT_FDCWD, nodename, &path, 0);
drivers/base/devtmpfs.c
227
dentry = start_creating_path(AT_FDCWD, nodename, &path, 0);
fs/coda/pioctl.c
68
error = user_path_at(AT_FDCWD, data.path,
fs/coredump.c
905
filename_unlinkat(AT_FDCWD, name);
fs/exec.c
1443
if (fd == AT_FDCWD || filename->name[0] == '/') {
fs/exec.c
1889
CLASS(bprm, bprm)(AT_FDCWD, filename, 0);
fs/exec.c
1949
return do_execveat_common(AT_FDCWD, name,
fs/exec.c
1976
return do_execveat_common(AT_FDCWD, name,
fs/exec.c
821
return do_open_execat(AT_FDCWD, filename, 0);
fs/fhandle.c
181
if (fd == AT_FDCWD) {
fs/fs_parser.c
159
param->dirfd = AT_FDCWD;
fs/fsopen.c
383
if (!_key || !_value || (aux != AT_FDCWD && aux < 0))
fs/hostfs/hostfs_user.c
384
err = syscall(SYS_renameat2, AT_FDCWD, from, AT_FDCWD, to, flags);
fs/init.c
161
return filename_mknodat(AT_FDCWD, name, mode, dev);
fs/init.c
168
return filename_linkat(AT_FDCWD, old, AT_FDCWD, new, 0);
fs/init.c
175
return filename_symlinkat(old, AT_FDCWD, new);
fs/init.c
181
return filename_unlinkat(AT_FDCWD, name);
fs/init.c
187
return filename_mkdirat(AT_FDCWD, name, mode);
fs/init.c
193
return filename_rmdir(AT_FDCWD, name);
fs/namei.c
2727
if (nd->dfd == AT_FDCWD) {
fs/namei.c
2971
error = filename_parentat(AT_FDCWD, filename, 0, &parent_path, &last,
fs/namei.c
3019
error = filename_parentat(AT_FDCWD, filename, 0, &parent_path, &last, &type);
fs/namei.c
3036
return filename_lookup(AT_FDCWD, filename, flags, path, NULL);
fs/namei.c
3053
int err = __filename_parentat(AT_FDCWD, filename, flags, parent, last,
fs/namei.c
3081
return filename_lookup(AT_FDCWD, filename, flags, path, &root);
fs/namei.c
5222
return filename_mknodat(AT_FDCWD, name, mode, dev);
fs/namei.c
5336
return filename_mkdirat(AT_FDCWD, name, mode);
fs/namei.c
5461
return filename_rmdir(AT_FDCWD, name);
fs/namei.c
5620
return filename_unlinkat(AT_FDCWD, name);
fs/namei.c
5712
return filename_symlinkat(old, AT_FDCWD, new);
fs/namei.c
5892
return filename_linkat(AT_FDCWD, old, AT_FDCWD, new, 0);
fs/namei.c
6236
return filename_renameat2(AT_FDCWD, old, AT_FDCWD, new, 0);
fs/namespace.c
2067
ret = user_path_at(AT_FDCWD, name, lookup_flags, &path);
fs/namespace.c
4171
ret = user_path_at(AT_FDCWD, dir_name, LOOKUP_FOLLOW, &path);
fs/namespace.c
4774
error = user_path_at(AT_FDCWD, new_root,
fs/namespace.c
4779
error = user_path_at(AT_FDCWD, put_old,
fs/notify/inotify/inotify_user.c
377
error = user_path_at(AT_FDCWD, dirname, flags, path);
fs/ocfs2/refcounttree.c
4420
error = user_path_at(AT_FDCWD, oldname, 0, &old_path);
fs/ocfs2/refcounttree.c
4426
new_dentry = start_creating_user_path(AT_FDCWD, newname, &new_path, 0);
fs/open.c
1326
return do_file_open(AT_FDCWD, name, &op);
fs/open.c
1382
return do_sys_open(AT_FDCWD, filename, flags, mode);
fs/open.c
140
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/open.c
1427
return do_sys_open(AT_FDCWD, filename, flags, mode);
fs/open.c
1452
return do_sys_open(AT_FDCWD, pathname, flags, mode);
fs/open.c
547
return do_faccessat(AT_FDCWD, filename, mode, 0);
fs/open.c
557
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/open.c
595
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/open.c
706
return do_fchmodat(AT_FDCWD, filename, mode, 0);
fs/open.c
824
return do_fchownat(AT_FDCWD, filename, user, group, 0);
fs/open.c
829
return do_fchownat(AT_FDCWD, filename, user, group,
fs/quota/quota.c
948
ret = user_path_at(AT_FDCWD, addr, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &path);
fs/stat.c
605
return do_readlinkat(AT_FDCWD, path, buf, bufsiz);
fs/statfs.c
104
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/utimes.c
137
if (filename == NULL && dfd != AT_FDCWD)
fs/utimes.c
206
return do_futimesat(AT_FDCWD, filename, utimes);
fs/utimes.c
220
return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0);
fs/utimes.c
242
return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0);
fs/utimes.c
291
return do_compat_futimesat(AT_FDCWD, filename, t);
fs/xattr.c
1014
return path_listxattrat(AT_FDCWD, pathname, 0, list, size);
fs/xattr.c
1020
return path_listxattrat(AT_FDCWD, pathname, AT_SYMLINK_NOFOLLOW, list, size);
fs/xattr.c
1109
return path_removexattrat(AT_FDCWD, pathname, 0, name);
fs/xattr.c
1115
return path_removexattrat(AT_FDCWD, pathname, AT_SYMLINK_NOFOLLOW, name);
fs/xattr.c
768
return path_setxattrat(AT_FDCWD, pathname, 0, name, value, size, flags);
fs/xattr.c
775
return path_setxattrat(AT_FDCWD, pathname, AT_SYMLINK_NOFOLLOW, name,
fs/xattr.c
908
return path_getxattrat(AT_FDCWD, pathname, 0, name, value, size);
fs/xattr.c
914
return path_getxattrat(AT_FDCWD, pathname, AT_SYMLINK_NOFOLLOW, name,
fs/xfs/xfs_handle.c
100
error = user_path_at(AT_FDCWD, hreq->path, 0, &path);
include/linux/fs.h
3217
return vfs_fstatat(AT_FDCWD, filename, stat, 0);
include/linux/fs.h
3221
return vfs_fstatat(AT_FDCWD, name, stat, AT_SYMLINK_NOFOLLOW);
include/linux/syscalls.h
1281
return do_fchownat(AT_FDCWD, filename, user, group, 0);
include/linux/syscalls.h
1287
return do_fchownat(AT_FDCWD, filename, user, group,
io_uring/xattr.c
117
ret = filename_getxattr(AT_FDCWD, name, LOOKUP_FOLLOW, &ix->ctx);
io_uring/xattr.c
194
ret = filename_setxattr(AT_FDCWD, name, LOOKUP_FOLLOW, &ix->ctx);
kernel/bpf/syscall.c
3263
path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD;
kernel/bpf/syscall.c
3280
path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD;
kernel/trace/bpf_trace.c
3248
return user_path_at(AT_FDCWD, upath, LOOKUP_FOLLOW, path);
net/unix/af_unix.c
1372
dentry = start_creating_path(AT_FDCWD, addr->name->sun_path, &parent, 0);
samples/fanotify/fs-monitor.c
135
FAN_FS_ERROR, AT_FDCWD, argv[1])) {
samples/vfs/test-fsmount.c
122
if (move_mount(mfd, "", AT_FDCWD, "/mnt", MOVE_MOUNT_F_EMPTY_PATH) < 0) {
samples/vfs/test-statx.c
258
ret = statx(AT_FDCWD, *argv, atflag, mask, &stx);
tools/build/feature/test-file-handle.c
15
name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0);
tools/include/nolibc/fcntl.h
55
return __nolibc_syscall4(__NR_openat, AT_FDCWD, path, flags, mode);
tools/include/nolibc/sys.h
182
return __nolibc_syscall4(__NR_fchmodat, AT_FDCWD, path, mode, 0);
tools/include/nolibc/sys.h
203
return __nolibc_syscall5(__NR_fchownat, AT_FDCWD, path, owner, group, 0);
tools/include/nolibc/sys.h
605
return __nolibc_syscall5(__NR_linkat, AT_FDCWD, old, AT_FDCWD, new, 0);
tools/include/nolibc/sys.h
663
return __nolibc_syscall3(__NR_mkdirat, AT_FDCWD, path, mode);
tools/include/nolibc/sys.h
685
return __nolibc_syscall3(__NR_unlinkat, AT_FDCWD, path, AT_REMOVEDIR);
tools/include/nolibc/sys.h
704
return __nolibc_syscall4(__NR_mknodat, AT_FDCWD, path, mode, dev);
tools/include/nolibc/sys.h
844
return __nolibc_syscall3(__NR_symlinkat, old, AT_FDCWD, new);
tools/include/nolibc/sys.h
899
return __nolibc_syscall3(__NR_unlinkat, AT_FDCWD, path, 0);
tools/include/nolibc/sys/stat.h
76
return fstatat(AT_FDCWD, path, buf, 0);
tools/include/nolibc/sys/stat.h
88
return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW);
tools/include/nolibc/unistd.h
48
return faccessat(AT_FDCWD, path, amode, 0);
tools/lib/bpf/btf.c
5792
if (faccessat(AT_FDCWD, sysfs_btf_path, F_OK, AT_EACCESS) < 0) {
tools/lib/bpf/btf.c
5815
if (faccessat(AT_FDCWD, path, R_OK, AT_EACCESS))
tools/lib/bpf/libbpf.c
11739
has_debugfs = faccessat(AT_FDCWD, DEBUGFS, F_OK, AT_EACCESS) == 0;
tools/lib/bpf/libbpf.c
13007
if (faccessat(AT_FDCWD, result, perm, AT_EACCESS) < 0)
tools/lib/bpf/libbpf_probes.c
38
if (faccessat(AT_FDCWD, ubuntu_kver_file, R_OK, AT_EACCESS) != 0)
tools/lib/bpf/usdt.c
298
man->has_sema_refcnt = faccessat(AT_FDCWD, ref_ctr_sysfs_path, F_OK, AT_EACCESS) == 0;
tools/perf/builtin-trace.c
717
#ifndef AT_FDCWD
tools/perf/builtin-trace.c
727
if (fd == AT_FDCWD)
tools/perf/tests/openat-syscall-tp-fields.c
22
#ifndef AT_FDCWD
tools/perf/tests/openat-syscall-tp-fields.c
88
openat(AT_FDCWD, filename, flags);
tools/perf/util/cgroup.c
61
if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0)
tools/perf/util/synthetic-events.c
575
if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0) {
tools/testing/selftests/bpf/cgroup_helpers.c
483
dirfd = AT_FDCWD;
tools/testing/selftests/bpf/prog_tests/token.c
1006
err = sys_move_mount(mnt_fd, "", AT_FDCWD, custom_dir, MOVE_MOUNT_F_EMPTY_PATH);
tools/testing/selftests/bpf/prog_tests/token.c
942
err = sys_move_mount(mnt_fd, "", AT_FDCWD, "/sys/fs/bpf", MOVE_MOUNT_F_EMPTY_PATH);
tools/testing/selftests/exec/execveat.c
309
fail += check_execveat(AT_FDCWD, fullname, 0);
tools/testing/selftests/exec/execveat.c
341
fail += check_execveat(AT_FDCWD, fullname_symlink, 0);
tools/testing/selftests/exec/execveat.c
354
fail += check_execveat_fail(AT_FDCWD, fullname_symlink,
tools/testing/selftests/exec/execveat.c
367
fail += check_execveat(AT_FDCWD, fullname_script, 0);
tools/testing/selftests/exec/execveat.c
401
fail += check_execveat_fail(AT_FDCWD, "no-such-file", 0, ENOENT);
tools/testing/selftests/filesystems/empty_mntns/clone3_empty_mntns_test.c
642
if (sys_move_mount(mntfd, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/empty_mntns/empty_mntns_test.c
548
if (sys_move_mount(mntfd, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/fat/rename_exchange.c
30
ret = renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_EXCHANGE);
tools/testing/selftests/filesystems/fclog.c
88
ASSERT_SUCCESS(move_mount(mfd, "", AT_FDCWD, "/tmp", MOVE_MOUNT_F_EMPTY_PATH));
tools/testing/selftests/filesystems/fuse/fuse_acl_cache_test.c
248
return statx(AT_FDCWD, path, AT_STATX_FORCE_SYNC, STATX_BASIC_STATS,
tools/testing/selftests/filesystems/idmapped_tmpfile.c
57
fd_tree = sys_open_tree(AT_FDCWD, path,
tools/testing/selftests/filesystems/mount-notify/mount-notify_test.c
290
ret = move_mount(AT_FDCWD, "/a", AT_FDCWD, "/b", 0);
tools/testing/selftests/filesystems/mount-notify/mount-notify_test.c
348
ret = move_mount(mnt, "", AT_FDCWD, "/a", MOVE_MOUNT_F_EMPTY_PATH);
tools/testing/selftests/filesystems/mount-notify/mount-notify_test_ns.c
317
ret = move_mount(AT_FDCWD, "/a", AT_FDCWD, "/b", 0);
tools/testing/selftests/filesystems/mount-notify/mount-notify_test_ns.c
375
ret = move_mount(mnt, "", AT_FDCWD, "/a", MOVE_MOUNT_F_EMPTY_PATH);
tools/testing/selftests/filesystems/mount-notify/mount-notify_test_ns.c
90
FAN_OPEN, AT_FDCWD, "/");
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
139
fd_tree = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
149
ret = sys_move_mount(fd_tree, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
178
fd_tree = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
188
ret = sys_move_mount(fd_tree, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
224
fd_tree = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
238
ret = sys_move_mount(fd_tree, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
269
fd_tree = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
279
ret = sys_move_mount(fd_tree, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
312
fd_tree = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
322
ret = sys_move_mount(fd_tree, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
365
fd_tree = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
375
ret = sys_move_mount(fd_tree, "", AT_FDCWD, "/",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
423
ret = sys_move_mount(mnt_fd, "", AT_FDCWD, "/mnt_dir",
tools/testing/selftests/filesystems/move_mount/move_mount_test.c
467
ret = sys_move_mount(mnt_fd, "", AT_FDCWD, "/mnt_dir",
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
224
self->fd = sys_open_tree(AT_FDCWD, variant->path, variant->flags);
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
267
self->fd = sys_open_tree(AT_FDCWD, variant->path, variant->flags);
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
307
self->fd = sys_open_tree(AT_FDCWD, "/", OPEN_TREE_NAMESPACE | OPEN_TREE_CLOEXEC);
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
370
fd = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
462
fd = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
537
fd = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
624
fd = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
698
fd = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
815
fd = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
950
fd = sys_open_tree(AT_FDCWD, self->tmpdir,
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c
964
fd = sys_open_tree(AT_FDCWD, "/",
tools/testing/selftests/filesystems/openat2/helpers.h
128
fd = sys_openat2(AT_FDCWD, ".", &how);
tools/testing/selftests/filesystems/openat2/openat2_test.c
125
fd = raw_openat2(AT_FDCWD, ".", how_copy, test->size);
tools/testing/selftests/filesystems/openat2/openat2_test.c
248
fd = sys_openat2(AT_FDCWD, path, &test->how);
tools/testing/selftests/filesystems/openat2/openat2_test.c
334
fd = sys_openat2(AT_FDCWD, "/dev/null", &how);
tools/testing/selftests/filesystems/openat2/openat2_test.c
351
fd = openat(AT_FDCWD, "/dev/null", O_RDONLY | __O_REGULAR);
tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c
68
if (sys_move_mount(tmpfs, "", AT_FDCWD, "/tmp", MOVE_MOUNT_F_EMPTY_PATH))
tools/testing/selftests/filesystems/statmount/statmount_test.c
312
ret = statx(AT_FDCWD, "/", 0, 0, &sx);
tools/testing/selftests/filesystems/statmount/statmount_test.c
61
ret = statx(AT_FDCWD, path, 0, mask, &sx);
tools/testing/selftests/filesystems/utils.c
602
ret = statx(AT_FDCWD, path, 0, STATX_MNT_ID_UNIQUE, &sx);
tools/testing/selftests/landlock/fs_bench.c
125
int fd = openat(AT_FDCWD, ".", O_PATH);
tools/testing/selftests/landlock/fs_test.c
10011
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
10047
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1,
tools/testing/selftests/landlock/fs_test.c
10076
ASSERT_EQ(-1, renameat(AT_FDCWD, bind_file1_s1d3, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
10105
ASSERT_EQ(-1, renameat(AT_FDCWD, bind_file1_s1d3, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
10142
ASSERT_EQ(0, renameat(AT_FDCWD, dir_s1d3, AT_FDCWD, dir_s4d2));
tools/testing/selftests/landlock/fs_test.c
10180
ASSERT_EQ(0, renameat(AT_FDCWD, dir_s1d3, AT_FDCWD, dir_s4d2));
tools/testing/selftests/landlock/fs_test.c
1636
ASSERT_EQ(0, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
1642
ASSERT_EQ(0, syscall(__NR_move_mount, AT_FDCWD, dir_s1d2, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
1649
ASSERT_EQ(-1, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
1669
ASSERT_EQ(0, syscall(__NR_move_mount, AT_FDCWD, dir_s1d2, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
1694
ASSERT_EQ(-1, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
1840
dirfd = AT_FDCWD;
tools/testing/selftests/landlock/fs_test.c
1848
dirfd = AT_FDCWD;
tools/testing/selftests/landlock/fs_test.c
1856
dirfd = AT_FDCWD;
tools/testing/selftests/landlock/fs_test.c
1972
ret = sys_execveat(AT_FDCWD, path, argv, NULL,
tools/testing/selftests/landlock/fs_test.c
2152
if (renameat2(AT_FDCWD, oldpath, AT_FDCWD, newpath, RENAME_EXCHANGE))
tools/testing/selftests/landlock/fs_test.c
2197
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d3,
tools/testing/selftests/landlock/fs_test.c
2200
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
2210
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d1, AT_FDCWD, file1_s1d3,
tools/testing/selftests/landlock/fs_test.c
2213
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d2, AT_FDCWD, file1_s1d3,
tools/testing/selftests/landlock/fs_test.c
2218
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d2, AT_FDCWD, file1_s2d1,
tools/testing/selftests/landlock/fs_test.c
2224
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d1, AT_FDCWD, dir_s2d2,
tools/testing/selftests/landlock/fs_test.c
2239
ASSERT_EQ(0, renameat2(AT_FDCWD, file2_s2d3, AT_FDCWD, file1_s2d3,
tools/testing/selftests/landlock/fs_test.c
2244
ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s2d3,
tools/testing/selftests/landlock/fs_test.c
2246
ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s2d3,
tools/testing/selftests/landlock/fs_test.c
2271
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d3, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
2276
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
2284
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s1d1, AT_FDCWD, dir_s2d1,
tools/testing/selftests/landlock/fs_test.c
2290
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s1d2,
tools/testing/selftests/landlock/fs_test.c
2301
ASSERT_EQ(0, renameat2(AT_FDCWD, dir_s1d3, AT_FDCWD, file1_s1d2,
tools/testing/selftests/landlock/fs_test.c
2458
open_tree(AT_FDCWD, dir_s1d1,
tools/testing/selftests/landlock/fs_test.c
2613
ASSERT_EQ(-1, renameat2(AT_FDCWD, file2_s1d1, AT_FDCWD, file1_s1d1,
tools/testing/selftests/landlock/fs_test.c
2616
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file2_s1d1,
tools/testing/selftests/landlock/fs_test.c
2623
ASSERT_EQ(-1, renameat2(AT_FDCWD, file2_s1d1, AT_FDCWD, file2_s1d1,
tools/testing/selftests/landlock/fs_test.c
2634
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d1, AT_FDCWD, file2_s1d1,
tools/testing/selftests/landlock/fs_test.c
2637
ASSERT_EQ(-1, renameat2(AT_FDCWD, file2_s1d1, AT_FDCWD, file1_s2d1,
tools/testing/selftests/landlock/fs_test.c
2645
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d1, AT_FDCWD, file2_s1d3,
tools/testing/selftests/landlock/fs_test.c
2657
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, file2_s1d3,
tools/testing/selftests/landlock/fs_test.c
2671
ASSERT_EQ(0, renameat2(AT_FDCWD, file2_s2d3, AT_FDCWD, file1_s1d3,
tools/testing/selftests/landlock/fs_test.c
2695
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
2698
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s1d3, AT_FDCWD, file1_s2d3,
tools/testing/selftests/landlock/fs_test.c
2880
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d3,
tools/testing/selftests/landlock/fs_test.c
2883
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d1,
tools/testing/selftests/landlock/fs_test.c
2891
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file1_s1d2, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
2894
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
2899
ASSERT_EQ(0, renameat2(AT_FDCWD, dir_s1d3, AT_FDCWD, dir_s2d3,
tools/testing/selftests/landlock/fs_test.c
2901
ASSERT_EQ(0, renameat2(AT_FDCWD, dir_s2d3, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
2905
ASSERT_EQ(0, renameat2(AT_FDCWD, dir_s2d3, AT_FDCWD, dir_file1_s1d2,
tools/testing/selftests/landlock/fs_test.c
2907
ASSERT_EQ(0, renameat2(AT_FDCWD, dir_file1_s1d2, AT_FDCWD, dir_s2d3,
tools/testing/selftests/landlock/fs_test.c
2920
ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3,
tools/testing/selftests/landlock/fs_test.c
2927
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2,
tools/testing/selftests/landlock/fs_test.c
2930
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3,
tools/testing/selftests/landlock/fs_test.c
2937
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d3,
tools/testing/selftests/landlock/fs_test.c
2940
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d1,
tools/testing/selftests/landlock/fs_test.c
2945
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file1_s1d2, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
2948
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
2953
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s1d3, AT_FDCWD, dir_s2d3,
tools/testing/selftests/landlock/fs_test.c
2957
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d3, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
2962
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d3, AT_FDCWD, dir_file1_s1d2,
tools/testing/selftests/landlock/fs_test.c
2966
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file1_s1d2, AT_FDCWD, dir_s2d3,
tools/testing/selftests/landlock/fs_test.c
2984
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3,
tools/testing/selftests/landlock/fs_test.c
2987
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2,
tools/testing/selftests/landlock/fs_test.c
3006
ASSERT_EQ(0, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2,
tools/testing/selftests/landlock/fs_test.c
3008
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3,
tools/testing/selftests/landlock/fs_test.c
3011
ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2,
tools/testing/selftests/landlock/fs_test.c
3046
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s2d2,
tools/testing/selftests/landlock/fs_test.c
3049
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s2d3,
tools/testing/selftests/landlock/fs_test.c
3067
ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
3069
ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s1d3,
tools/testing/selftests/landlock/fs_test.c
3182
ASSERT_EQ(0, unlinkat(AT_FDCWD, dir_s1d3, AT_REMOVEDIR));
tools/testing/selftests/landlock/fs_test.c
3187
ASSERT_EQ(-1, unlinkat(AT_FDCWD, dir_s1d2, AT_REMOVEDIR));
tools/testing/selftests/landlock/fs_test.c
3191
ASSERT_EQ(-1, unlinkat(AT_FDCWD, dir_s1d1, AT_REMOVEDIR));
tools/testing/selftests/landlock/fs_test.c
3209
ASSERT_EQ(-1, unlinkat(AT_FDCWD, file1_s1d1, 0));
tools/testing/selftests/landlock/fs_test.c
3212
ASSERT_EQ(0, unlinkat(AT_FDCWD, file1_s1d3, 0));
tools/testing/selftests/landlock/fs_test.c
450
return test_open_rel(AT_FDCWD, path, flags);
tools/testing/selftests/landlock/fs_test.c
5222
EXPECT_EQ(-1, renameat(bind_s1d3_fd, file1_name, AT_FDCWD,
tools/testing/selftests/landlock/fs_test.c
5272
ASSERT_EQ(0, renameat(bind_s1d3_fd, file2_name, AT_FDCWD, file1_s2d2))
tools/testing/selftests/landlock/fs_test.c
5281
ASSERT_EQ(0, renameat(AT_FDCWD, file1_s2d2, bind_s1d3_fd, file1_name))
tools/testing/selftests/landlock/fs_test.c
5351
ASSERT_EQ(0, linkat(bind_s1d3_fd, file1_name, AT_FDCWD, file1_s2d2, 0))
tools/testing/selftests/landlock/fs_test.c
5373
ASSERT_EQ(0, linkat(AT_FDCWD, file1_s2d2, bind_s1d3_fd, file2_name, 0))
tools/testing/selftests/landlock/fs_test.c
5911
ASSERT_EQ(0, test_renameat(AT_FDCWD, TMP_DIR "/s1d1/s1d2/s1d31/s1d41",
tools/testing/selftests/landlock/fs_test.c
5912
AT_FDCWD, TMP_DIR "/s3d1/s1d41"));
tools/testing/selftests/landlock/fs_test.c
5914
ASSERT_EQ(0, test_renameat(AT_FDCWD, TMP_DIR "/s1d1/s1d2/s1d32/s1d42",
tools/testing/selftests/landlock/fs_test.c
5915
AT_FDCWD, TMP_DIR "/s4d1/s1d42"));
tools/testing/selftests/landlock/fs_test.c
6430
ASSERT_EQ(0, test_renameat(AT_FDCWD, TMP_DIR "/s2d1/s2d2/s2d3",
tools/testing/selftests/landlock/fs_test.c
6431
AT_FDCWD, TMP_DIR "/s4d1/s2d3"));
tools/testing/selftests/landlock/fs_test.c
7405
EXPECT_EQ(-1, unlinkat(AT_FDCWD, dir_s1d3, AT_REMOVEDIR));
tools/testing/selftests/landlock/fs_test.c
7978
fd = openat(AT_FDCWD, target->target, open_mode | O_CLOEXEC);
tools/testing/selftests/landlock/fs_test.c
9422
ret = renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1);
tools/testing/selftests/landlock/fs_test.c
9566
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
9602
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
9643
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
9674
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file2_s1d1));
tools/testing/selftests/landlock/fs_test.c
9706
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
9746
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file2_s1d1));
tools/testing/selftests/landlock/fs_test.c
9802
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
9860
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
9915
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/landlock/fs_test.c
9959
ASSERT_EQ(-1, renameat(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d1));
tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c
221
ret = syscall(__NR_move_mount, AT_FDCWD, SET_GROUP_FROM,
tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c
222
AT_FDCWD, SET_GROUP_TO, MOVE_MOUNT_SET_GROUP);
tools/testing/selftests/nolibc/nolibc-test.c
1346
dev = openat(AT_FDCWD, "/dev", O_DIRECTORY);
tools/testing/selftests/pidfd/pidfd_file_handle_test.c
558
pidfd = open_by_handle_at(AT_FDCWD, fh, 0);
tools/testing/selftests/pidfd/pidfd_info_test.c
411
sys_execveat(AT_FDCWD, "pidfd_exec_helper", NULL, NULL, 0);
tools/testing/selftests/pidfd/pidfd_info_test.c
560
sys_execveat(AT_FDCWD, "pidfd_exec_helper", NULL, NULL, 0);
tools/testing/selftests/proc/proc-pid-vm.c
201
fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);
tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c
59
fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);
tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c
64
if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) {
tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c
71
fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);