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

/external/ltp/testcases/kernel/containers/share/
H A Dns_exec.c38 int ns_fd[NS_TOTAL]; variable
65 ns_fd[ns_fds] = fd;
81 close(ns_fd[i]);
112 memset(ns_fd, 0, sizeof(ns_fd));
133 if (syscall(__NR_setns, ns_fd[i], 0) == -1) {
/external/minijail/
H A Dlibminijail.c434 int ns_fd = open(ns_path, O_RDONLY | O_CLOEXEC); local
435 if (ns_fd < 0) {
438 j->mountns_fd = ns_fd;
472 int ns_fd = open(ns_path, O_RDONLY | O_CLOEXEC); local
473 if (ns_fd < 0) {
476 j->netns_fd = ns_fd;

Completed in 100 milliseconds