Home
last modified time | relevance | path

Searched refs:CLONE_NEWNS (Results 1 – 25 of 67) sorted by relevance

123

/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.h31 #ifndef CLONE_NEWNS
32 #define CLONE_NEWNS -1 macro
69 if (CLONE_NEWNS == -1) in check_netns()
71 CLONE_NEWNS); in check_netns()
73 pid = do_clone_unshare_test(T_UNSHARE, CLONE_NEWNET | CLONE_NEWNS, in check_netns()
/external/strace/xlat/
Dsetns_types.h6 #if defined(CLONE_NEWNS) || (defined(HAVE_DECL_CLONE_NEWNS) && HAVE_DECL_CLONE_NEWNS)
8 static_assert((CLONE_NEWNS) == (0x00020000), "CLONE_NEWNS != 0x00020000");
11 # define CLONE_NEWNS 0x00020000
62 XLAT(CLONE_NEWNS),
Dclone_flags.h69 #if defined(CLONE_NEWNS) || (defined(HAVE_DECL_CLONE_NEWNS) && HAVE_DECL_CLONE_NEWNS)
71 static_assert((CLONE_NEWNS) == (0x00020000), "CLONE_NEWNS != 0x00020000");
74 # define CLONE_NEWNS 0x00020000
187 XLAT(CLONE_NEWNS),
Dunshare_flags.h23 #if defined(CLONE_NEWNS) || (defined(HAVE_DECL_CLONE_NEWNS) && HAVE_DECL_CLONE_NEWNS)
24 XLAT(CLONE_NEWNS),
Dunshare_flags.in3 CLONE_NEWNS
Dsetns_types.in2 CLONE_NEWNS 0x00020000
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c19 #ifndef CLONE_NEWNS
20 # define CLONE_NEWNS 0x00020000 macro
211 if (unshare(CLONE_NEWNS) != 0) { in test_unpriv_remount()
225 if (unshare(CLONE_NEWNS) != 0) { in test_unpriv_remount()
291 ret = unshare(CLONE_NEWNS); in test_priv_mount_unpriv_remount()
/external/ltp/include/lapi/
Dnamespaces_constants.h22 #ifndef CLONE_NEWNS
23 # define CLONE_NEWNS 0x00020000 macro
/external/bcc/src/cc/
Dns_guard.cc70 if (setns(mount_ns_->target(), CLONE_NEWNS) == 0) in init()
76 setns(mount_ns_->self(), CLONE_NEWNS); in ~ProcMountNSGuard()
/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.const7 CLONE_NEWNS = 131072
Dnamespaces_386.const7 CLONE_NEWNS = 131072
Dnamespaces_amd64.const7 CLONE_NEWNS = 131072
Dnamespaces_ppc64le.const7 CLONE_NEWNS = 131072
Dnamespaces_arm.const7 CLONE_NEWNS = 131072
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns.h67 #if defined(CLONE_NEWNS) in init_available_ns()
68 init_ns_type(CLONE_NEWNS, "mnt"); in init_available_ns()
/external/ltp/testcases/kernel/containers/mountns/
Dmountns01.c81 if (unshare(CLONE_NEWNS) == -1) in test()
92 if (do_clone_tests(CLONE_NEWNS, child_func, NULL, NULL, NULL) == -1) in test()
Dmountns02.c81 if (unshare(CLONE_NEWNS) == -1) in test()
92 if (do_clone_tests(CLONE_NEWNS, child_func, NULL, NULL, NULL) == -1) in test()
Dmountns03.c94 if (unshare(CLONE_NEWNS) == -1) in test()
105 if (do_clone_tests(CLONE_NEWNS, child_func, NULL, NULL, NULL) == -1) in test()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c576 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main()
594 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main()
611 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main()
Dnewns.c45 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, (void *)argv); in main()
/external/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_6_2.c32 ltp_clone_quick(CLONE_NEWNS, foo, NULL); in main()
/external/ltp/testcases/kernel/containers/share/
Dns_common.h33 {"mnt", CLONE_NEWNS},
/external/kernel-headers/original/uapi/linux/
Dsched.h17 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
/external/ltp/testcases/kernel/fs/fs_bind/bin/
Dnsclone.c57 ret = ltp_clone_quick(CLONE_NEWNS | SIGCHLD, myfunc, (void *)child_cmd); in main()

123