Searched refs:CLONE_NEWNET (Results 1 – 13 of 13) sorted by relevance
/external/strace/xlat/ |
D | clone_flags.h | 65 #if !(defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET)) 66 # define CLONE_NEWNET 0x40000000 macro 101 XLAT(CLONE_NEWNET),
|
D | clone_flags.in | 22 CLONE_NEWNET 0x40000000
|
/external/libchrome/sandbox/linux/suid/ |
D | sandbox.c | 39 #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/ |
D | namespace.h | 13 #ifndef CLONE_NEWNET 14 #define CLONE_NEWNET 0x40000000 /* New network namespace (lo, device, names sockets, etc) */ macro
|
/external/libchrome/sandbox/linux/services/ |
D | namespace_sandbox.cc | 91 : 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()
|
D | namespace_utils.cc | 78 case CLONE_NEWNET: in KernelSupportsUnprivilegedNamespace()
|
D | namespace_sandbox_unittest.cc | 81 NamespaceUtils::KernelSupportsUnprivilegedNamespace(CLONE_NEWNET)); in MULTIPROCESS_TEST_MAIN()
|
/external/kernel-headers/original/uapi/linux/ |
D | sched.h | 30 #define CLONE_NEWNET 0x40000000 /* New network namespace */ macro
|
/external/toybox/toys/other/ |
D | nsenter.c | 118 unsigned flags[]={CLONE_NEWUSER, CLONE_NEWUTS, CLONE_NEWPID, CLONE_NEWNET, in unshare_main()
|
/external/iproute2/lib/ |
D | namespace.c | 58 if (setns(netns, CLONE_NEWNET) < 0) { in netns_switch()
|
/external/toybox/scripts/ |
D | genconfig.sh | 37 int x=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET;
|
/external/iproute2/ip/ |
D | ipnetns.c | 661 if (unshare(CLONE_NEWNET) < 0) { in netns_add()
|
/external/minijail/ |
D | libminijail.c | 1356 if (setns(j->netns_fd, CLONE_NEWNET)) in minijail_enter() 1358 } else if (j->flags.net && unshare(CLONE_NEWNET)) { in minijail_enter()
|