Home
last modified time | relevance | path

Searched refs:renameat2 (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/tools/testing/selftests/landlock/
Dfs_test.c42 #ifndef renameat2
43 int renameat2(int olddirfd, const char *oldpath, int newdirfd, in renameat2() function
2108 if (renameat2(AT_FDCWD, oldpath, AT_FDCWD, newpath, RENAME_EXCHANGE)) in test_exchange()
2142 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d3, in TEST_F_FORK()
2145 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, dir_s1d3, in TEST_F_FORK()
2155 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d1, AT_FDCWD, file1_s1d3, in TEST_F_FORK()
2158 ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d2, AT_FDCWD, file1_s1d3, in TEST_F_FORK()
2163 ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d2, AT_FDCWD, file1_s2d1, in TEST_F_FORK()
2169 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d1, AT_FDCWD, dir_s2d2, in TEST_F_FORK()
2184 ASSERT_EQ(0, renameat2(AT_FDCWD, file2_s2d3, AT_FDCWD, file1_s2d3, in TEST_F_FORK()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c101 err = renameat2(0, TDIR "/fs1/a", 0, TDIR "/fs1/b", RENAME_EXCHANGE); in fn()
117 err = renameat2(0, TDIR "/fs1/c", 0, TDIR "/fs1/b", RENAME_EXCHANGE); in fn()
130 err = renameat2(0, TDIR "/fs1/b", 0, TDIR "/fs1/a", RENAME_NOREPLACE); in fn()
/linux-6.12.1/tools/testing/selftests/filesystems/fat/
Drename_exchange.c30 ret = renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_EXCHANGE); in main()
/linux-6.12.1/tools/perf/trace/strace/groups/
Dstring51 renameat2
/linux-6.12.1/tools/testing/selftests/openat2/
Drename_attack_test.c66 renameat2(dirfd, a, dirfd, b, RENAME_EXCHANGE); in spawn_attack()
/linux-6.12.1/arch/arm64/tools/
Dsyscall_64.tbl51 # renameat is superseded with flags by renameat2
326 276 common renameat2 sys_renameat2
Dsyscall_32.tbl397 382 common renameat2 sys_renameat2
/linux-6.12.1/scripts/
Dsyscall.tbl51 # renameat is superseded with flags by renameat2
326 276 common renameat2 sys_renameat2
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl322 311 n64 renameat2 sys_renameat2
/linux-6.12.1/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl322 311 n64 renameat2 sys_renameat2
Dsyscall_n32.tbl326 315 n32 renameat2 sys_renameat2
Dsyscall_o32.tbl365 351 o32 renameat2 sys_renameat2
/linux-6.12.1/arch/x86/entry/syscalls/
Dsyscall_64.tbl328 316 common renameat2 sys_renameat2
Dsyscall_32.tbl368 353 i386 renameat2 sys_renameat2
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl328 316 common renameat2 sys_renameat2
Dsyscall_32.tbl368 353 i386 renameat2 sys_renameat2
/linux-6.12.1/arch/xtensa/kernel/syscalls/
Dsyscall.tbl359 336 common renameat2 sys_renameat2
/linux-6.12.1/arch/parisc/kernel/syscalls/
Dsyscall.tbl383 337 common renameat2 sys_renameat2
/linux-6.12.1/arch/microblaze/kernel/syscalls/
Dsyscall.tbl393 383 common renameat2 sys_renameat2
/linux-6.12.1/arch/m68k/kernel/syscalls/
Dsyscall.tbl361 351 common renameat2 sys_renameat2
/linux-6.12.1/arch/sh/kernel/syscalls/
Dsyscall.tbl381 371 common renameat2 sys_renameat2
/linux-6.12.1/arch/sparc/kernel/syscalls/
Dsyscall.tbl417 345 common renameat2 sys_renameat2
/linux-6.12.1/arch/arm/tools/
Dsyscall.tbl400 382 common renameat2 sys_renameat2
/linux-6.12.1/arch/alpha/kernel/syscalls/
Dsyscall.tbl441 510 common renameat2 sys_renameat2
/linux-6.12.1/arch/powerpc/kernel/syscalls/
Dsyscall.tbl461 357 common renameat2 sys_renameat2

12