Searched refs:ns_flag (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/syscalls/setns/ |
D | setns02.c | 67 int ns_flag = *(int *)arg; in do_child_newuts() local 88 if (syscall(__NR_setns, ns_uts_fd, ns_flag) == -1) { in do_child_newuts() 108 int ns_flag = *(int *)arg; in do_child_newipc() local 120 if (syscall(__NR_setns, ns_ipc_fd, ns_flag) == -1) { in do_child_newipc() 137 static void test_flag(int clone_flag, int ns_flag, int (*fn) (void *arg)) in test_flag() argument 147 clone_flag, ns_flag); in test_flag() 148 ret = ltp_clone(SIGCHLD|clone_flag, fn, &ns_flag, in test_flag()
|