Searched refs:dir_fd2 (Results 1 – 5 of 5) sorted by relevance
/io/ |
A D | tst-faccessat.c | 160 int dir_fd2 = dup (dir_fd); in do_test() local 161 if (dir_fd2 == -1) in do_test() 166 close (dir_fd2); in do_test() 169 if (faccessat (dir_fd2, "some-file", F_OK, AT_EACCESS) != -1) in do_test() 181 if (faccessat (dir_fd2, "non-existing-file", F_OK, AT_EACCESS) != -1) in do_test()
|
A D | tst-renameat.c | 165 int dir_fd2 = dup (dir_fd); in do_test() local 166 if (dir_fd2 == -1) in do_test() 171 close (dir_fd2); in do_test() 173 if (renameat (dir_fd2, "another-file", dir_fd, "some-file") == 0) in do_test() 184 if (renameat (dir_fd, "another-file", dir_fd2, "some-file") == 0) in do_test()
|
A D | tst-fchmodat.c | 159 int dir_fd2 = dup (dir_fd); in do_test() local 160 if (dir_fd2 == -1) in do_test() 165 close (dir_fd2); in do_test() 167 if (fchmodat (dir_fd2, "some-file", 0400, 0) != -1) in do_test()
|
A D | tst-fchownat.c | 161 int dir_fd2 = dup (dir_fd); in do_test() local 162 if (dir_fd2 == -1) in do_test() 167 close (dir_fd2); in do_test() 169 if (fchownat (dir_fd2, "some-file", 1, 1, 0) != -1) in do_test()
|
A D | tst-fstatat.c | 156 int dir_fd2 = dup (dir_fd); in do_test() local 157 if (dir_fd2 == -1) in do_test() 162 close (dir_fd2); in do_test() 164 if (fstatat64 (dir_fd2, "some-file", &st1, 0) != -1) in do_test()
|
Completed in 5 milliseconds