/external/ltp/testcases/kernel/containers/netns/ |
D | netns_helper.h | 31 #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/ |
D | setns_types.h | 6 #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),
|
D | clone_flags.h | 69 #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),
|
D | unshare_flags.h | 23 #if defined(CLONE_NEWNS) || (defined(HAVE_DECL_CLONE_NEWNS) && HAVE_DECL_CLONE_NEWNS) 24 XLAT(CLONE_NEWNS),
|
D | unshare_flags.in | 3 CLONE_NEWNS
|
D | setns_types.in | 2 CLONE_NEWNS 0x00020000
|
/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 19 #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/ |
D | namespaces_constants.h | 22 #ifndef CLONE_NEWNS 23 # define CLONE_NEWNS 0x00020000 macro
|
/external/bcc/src/cc/ |
D | ns_guard.cc | 70 if (setns(mount_ns_->target(), CLONE_NEWNS) == 0) in init() 76 setns(mount_ns_->self(), CLONE_NEWNS); in ~ProcMountNSGuard()
|
/external/syzkaller/sys/linux/ |
D | namespaces.txt | 15 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, …
|
D | namespaces_arm64.const | 7 CLONE_NEWNS = 131072
|
D | namespaces_386.const | 7 CLONE_NEWNS = 131072
|
D | namespaces_amd64.const | 7 CLONE_NEWNS = 131072
|
D | namespaces_ppc64le.const | 7 CLONE_NEWNS = 131072
|
D | namespaces_arm.const | 7 CLONE_NEWNS = 131072
|
/external/ltp/testcases/kernel/syscalls/setns/ |
D | setns.h | 67 #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/ |
D | mountns01.c | 81 if (unshare(CLONE_NEWNS) == -1) in test() 92 if (do_clone_tests(CLONE_NEWNS, child_func, NULL, NULL, NULL) == -1) in test()
|
D | mountns02.c | 81 if (unshare(CLONE_NEWNS) == -1) in test() 92 if (do_clone_tests(CLONE_NEWNS, child_func, NULL, NULL, NULL) == -1) in test()
|
D | mountns03.c | 94 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/ |
D | tomoyo_filesystem_test.c | 576 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()
|
D | newns.c | 45 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, (void *)argv); in main()
|
/external/ltp/testcases/kernel/controllers/cgroup/ |
D | cgroup_regression_6_2.c | 32 ltp_clone_quick(CLONE_NEWNS, foo, NULL); in main()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_common.h | 33 {"mnt", CLONE_NEWNS},
|
/external/kernel-headers/original/uapi/linux/ |
D | sched.h | 17 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
|
/external/ltp/testcases/kernel/fs/fs_bind/bin/ |
D | nsclone.c | 57 ret = ltp_clone_quick(CLONE_NEWNS | SIGCHLD, myfunc, (void *)child_cmd); in main()
|