Searched refs:tmpfd (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/posix/ |
D | tst-spawn-chdir.c | 73 bool do_fchdir, int tmpfd) in add_chdir() argument 78 (actions, tmpfd, path, O_DIRECTORY | O_RDONLY, 0), 0); in add_chdir() 80 (actions, tmpfd), 0); in add_chdir() 81 TEST_COMPARE (posix_spawn_file_actions_addclose (actions, tmpfd), 0); in add_chdir()
|
/glibc-2.36/debug/ |
D | tst-fortify.c | 1323 int tmpfd = open ("/tmp", O_RDONLY | O_DIRECTORY); in do_test() local 1324 if (tmpfd < 0) in do_test() 1327 if (readlinkat (tmpfd, fname + sizeof ("/tmp/") - 1, readlinkbuf, 4) != 3 in do_test() 1330 if (readlinkat (tmpfd, fname + sizeof ("/tmp/") - 1, readlinkbuf + 1, in do_test() 1337 if (readlinkat (tmpfd, fname + sizeof ("/tmp/") - 1, readlinkbuf + 2, in do_test() 1343 if (readlinkat (tmpfd, fname + sizeof ("/tmp/") - 1, readlinkbuf + 3, in do_test() 1349 close (tmpfd); in do_test()
|