Home
last modified time | relevance | path

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

123

/external/strace/xlat/
Dsetns_types.h48 #if defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET)
50 static_assert((CLONE_NEWNET) == (0x40000000), "CLONE_NEWNET != 0x40000000");
53 # define CLONE_NEWNET 0x40000000
68 XLAT(CLONE_NEWNET),
Dclone_flags.h153 #if defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET)
155 static_assert((CLONE_NEWNET) == (0x40000000), "CLONE_NEWNET != 0x40000000");
158 # define CLONE_NEWNET 0x40000000
199 XLAT(CLONE_NEWNET),
Dunshare_flags.h44 #if defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET)
45 XLAT(CLONE_NEWNET),
Dunshare_flags.in10 CLONE_NEWNET
Dsetns_types.in8 CLONE_NEWNET 0x40000000
Dclone_flags.in22 CLONE_NEWNET 0x40000000
/external/linux-kselftest/tools/testing/selftests/uevent/
Duevent_filtering.c138 if (post_flags & CLONE_NEWNET) { in uevent_listener()
139 ret = unshare(CLONE_NEWNET); in uevent_listener()
284 if (pre_flags & CLONE_NEWNET) { in do_test()
285 ret = unshare(CLONE_NEWNET); in do_test()
402 ret = do_test(CLONE_NEWNET, 0, true, sync_fd); in TEST()
431 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST()
446 ret = do_test(0, CLONE_NEWNET, true, sync_fd); in TEST()
477 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
/external/ltp/include/lapi/
Dnamespaces_constants.h25 #ifndef CLONE_NEWNET
26 # define CLONE_NEWNET 0x40000000 macro
/external/iproute2/include/
Dnamespace.h18 #ifndef CLONE_NEWNET
19 #define CLONE_NEWNET 0x40000000 /* New network namespace (lo, device, names sockets, etc) */ macro
/external/syzkaller/sys/linux/
Dnamespaces.txt15 unshare_flags = CLONE_FILES, CLONE_FS, CLONE_NEWCGROUP, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CL…
16 ns_type = 0, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWUTS, CLONE_NEWCGROUP, CLONE_NEWNS, CLONE_NEWPID, …
Dnamespaces_arm64.const6 CLONE_NEWNET = 1073741824
Dnamespaces_386.const6 CLONE_NEWNET = 1073741824
Dnamespaces_amd64.const6 CLONE_NEWNET = 1073741824
Dnamespaces_ppc64le.const6 CLONE_NEWNET = 1073741824
Dnamespaces_arm.const6 CLONE_NEWNET = 1073741824
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns.h70 #if defined(CLONE_NEWNET) in init_available_ns()
71 init_ns_type(CLONE_NEWNET, "net"); in init_available_ns()
/external/ltp/testcases/kernel/containers/share/
Dns_common.h34 {"net", CLONE_NEWNET},
/external/kernel-headers/original/uapi/linux/
Dsched.h30 #define CLONE_NEWNET 0x40000000 /* New network namespace */ macro
/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.h73 pid = do_clone_unshare_test(T_UNSHARE, CLONE_NEWNET | CLONE_NEWNS, in check_netns()
Dnetns_netlink.c130 if (unshare(CLONE_NEWNET) == -1) in test()
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c28 #ifndef CLONE_NEWNET
29 # define CLONE_NEWNET 0x40000000 macro
/external/ltp/testcases/cve/
Dcve-2017-16939.c58 if (unshare(CLONE_NEWNET) != 0) in setup()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone09.c33 static int flags = CLONE_NEWNET | CLONE_VM | SIGCHLD;
/external/ltp/testcases/network/packet/
Dfanout01.c40 TEST(unshare(CLONE_NEWNET)); in setup()
/external/toybox/toys/other/
Dnsenter.c121 unsigned flags[]={CLONE_NEWUSER, CLONE_NEWUTS, CLONE_NEWPID, CLONE_NEWNET, in unshare_main()

123