Home
last modified time | relevance | path

Searched refs:ns_uts_fd (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setns/
Dsetns02.c57 static int ns_uts_fd; variable
88 if (syscall(__NR_setns, ns_uts_fd, ns_flag) == -1) { in do_child_newuts()
169 if (ns_uts_fd != -1) { in main()
195 ns_uts_fd = get_ns_fd(getpid(), "uts"); in setup()
196 if (ns_ipc_fd == -1 && ns_uts_fd == -1) in setup()
214 if (ns_uts_fd != -1) in cleanup()
215 close(ns_uts_fd); in cleanup()