Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/setns/
Dsetns01.c48 int ns_type; member
83 .ns_type = -1,
109 t->ns_type = ns_types[i]; in setup0()
114 t->ns_type = ns_types[i]; in setup1()
139 t->ns_type = ns_types[(i+1) % ns_total]; in setup3()
148 t->ns_type = ns_types[i]; in setup4()
170 tst_resm(TINFO, "setns(%d, 0x%x)", t->fd, t->ns_type); in test_setns()
171 ret = syscall(__NR_setns, t->fd, t->ns_type); in test_setns()
/external/libchrome/sandbox/linux/services/
Dnamespace_sandbox.cc130 for (const int ns_type : kSupportedTypes) { in LaunchProcessWithOptions() local
131 if ((ns_type & ns_sandbox_options.ns_types) == 0) { in LaunchProcessWithOptions()
135 if (NamespaceUtils::KernelSupportsUnprivilegedNamespace(ns_type)) { in LaunchProcessWithOptions()
136 clone_flags |= ns_type; in LaunchProcessWithOptions()
/external/c-ares/
Dnameser.h92 } ns_type; typedef