Home
last modified time | relevance | path

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

/external/strace/xlat/
Dclone_flags.h65 #if !(defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET))
66 # define CLONE_NEWNET 0x40000000 macro
101 XLAT(CLONE_NEWNET),
Dclone_flags.in22 CLONE_NEWNET 0x40000000
/external/libchrome/sandbox/linux/suid/
Dsandbox.c39 #if !defined(CLONE_NEWNET)
40 #define CLONE_NEWNET 0x40000000 macro
230 const int kCloneExtraFlags[] = {CLONE_NEWPID | CLONE_NEWNET, CLONE_NEWPID, }; in MoveToNewNamespaces()
285 if (kCloneExtraFlags[i] & CLONE_NEWNET) { in MoveToNewNamespaces()
304 if (kCloneExtraFlags[i] & CLONE_NEWNET) { in MoveToNewNamespaces()
/external/iproute2/include/
Dnamespace.h13 #ifndef CLONE_NEWNET
14 #define CLONE_NEWNET 0x40000000 /* New network namespace (lo, device, names sockets, etc) */ macro
/external/libchrome/sandbox/linux/services/
Dnamespace_sandbox.cc91 : ns_types(CLONE_NEWUSER | CLONE_NEWPID | CLONE_NEWNET), in Options()
129 const int kSupportedTypes[] = {CLONE_NEWUSER, CLONE_NEWPID, CLONE_NEWNET}; in LaunchProcessWithOptions()
152 std::make_pair(CLONE_NEWNET, kSandboxNETNSEnvironmentVarName), in LaunchProcessWithOptions()
Dnamespace_utils.cc78 case CLONE_NEWNET: in KernelSupportsUnprivilegedNamespace()
Dnamespace_sandbox_unittest.cc81 NamespaceUtils::KernelSupportsUnprivilegedNamespace(CLONE_NEWNET)); in MULTIPROCESS_TEST_MAIN()
/external/kernel-headers/original/uapi/linux/
Dsched.h30 #define CLONE_NEWNET 0x40000000 /* New network namespace */ macro
/external/toybox/toys/other/
Dnsenter.c118 unsigned flags[]={CLONE_NEWUSER, CLONE_NEWUTS, CLONE_NEWPID, CLONE_NEWNET, in unshare_main()
/external/iproute2/lib/
Dnamespace.c58 if (setns(netns, CLONE_NEWNET) < 0) { in netns_switch()
/external/toybox/scripts/
Dgenconfig.sh37 int x=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET;
/external/iproute2/ip/
Dipnetns.c661 if (unshare(CLONE_NEWNET) < 0) { in netns_add()
/external/minijail/
Dlibminijail.c1356 if (setns(j->netns_fd, CLONE_NEWNET)) in minijail_enter()
1358 } else if (j->flags.net && unshare(CLONE_NEWNET)) { in minijail_enter()