Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/setns/
Dsetns02.c33 static int ns_ipc_fd; variable
97 if (tst_syscall(__NR_setns, ns_ipc_fd, ns_flag) == -1) { in do_child_newipc()
141 if (ns_ipc_fd != -1) { in test_all()
157 ns_ipc_fd = get_ns_fd(getpid(), "ipc"); in setup()
159 if (ns_ipc_fd == -1 && ns_uts_fd == -1) in setup()
170 if (ns_ipc_fd != -1) in cleanup()
171 SAFE_CLOSE(ns_ipc_fd); in cleanup()