Home
last modified time | relevance | path

Searched refs:tmpfile_fd (Results 1 - 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/openat/
H A Dopenat04.c44 static int tmpfile_fd = -1, dir_fd = -1, mount_flag; variable
142 tmpfile_fd = SAFE_OPENAT(dir_fd, ".", O_TMPFILE | O_RDWR, MODE_SGID); in run()
143 snprintf(path, PATH_MAX, "/proc/self/fd/%d", tmpfile_fd); in run()
146 SAFE_CLOSE(tmpfile_fd); in run()
155 if (tmpfile_fd >= 0) in cleanup()
156 SAFE_CLOSE(tmpfile_fd); in cleanup()

Completed in 2 milliseconds