/third_party/rust/crates/rustix/src/thread/ |
H A D | setns.rs | 5 CLONE_FILES, CLONE_FS, CLONE_NEWCGROUP, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, 20 const MOUNT = CLONE_NEWNS; 43 Mount = CLONE_NEWNS, 71 /// `CLONE_NEWNS`. 72 const NEWNS = CLONE_NEWNS;
|
/third_party/ltp/include/lapi/ |
H A D | namespaces_constants.h | 12 #ifndef CLONE_NEWNS 13 # define CLONE_NEWNS 0x00020000 macro
|
H A D | sched.h | 111 #ifndef CLONE_NEWNS 112 # define CLONE_NEWNS 0x00020000 macro
|
/third_party/ltp/testcases/kernel/containers/mountns/ |
H A D | mountns03.c | 20 * - Clones a new child process with CLONE_NEWNS flag and makes "A" a slave 68 .flags = CLONE_NEWNS, in run() 72 SAFE_UNSHARE(CLONE_NEWNS); in run()
|
H A D | mountns01.c | 20 * - Clones a new child process with CLONE_NEWNS flag 60 .flags = CLONE_NEWNS, in run() 64 SAFE_UNSHARE(CLONE_NEWNS); in run()
|
H A D | mountns02.c | 20 * - Clones a new child process with CLONE_NEWNS flag 60 .flags = CLONE_NEWNS, in run() 64 SAFE_UNSHARE(CLONE_NEWNS); in run()
|
H A D | mountns_helper.h | 34 tst_brkm(TCONF, NULL, "CLONE_NEWNS not supported"); in check_newns() 36 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWNS, dummy_child, NULL); in check_newns() 38 tst_brkm(TCONF | TERRNO, NULL, "CLONE_NEWNS not supported"); in check_newns()
|
H A D | mountns04.c | 29 SAFE_UNSHARE(CLONE_NEWNS); in run()
|
/third_party/ltp/testcases/kernel/containers/share/ |
H A D | ns_common.h | 33 {"mnt", CLONE_NEWNS},
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
H A D | cgroup_regression_6_2.c | 32 ltp_clone_quick(CLONE_NEWNS, foo, NULL); in main()
|
/third_party/ltp/testcases/lib/ |
H A D | tst_ns_common.h | 20 {"mnt", CLONE_NEWNS},
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A D | newns.c | 45 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, (void *)argv); in main()
|
/third_party/ltp/testcases/kernel/syscalls/unshare/ |
H A D | unshare01.c | 40 {CLONE_NEWNS, "CLONE_NEWNS"},
|
H A D | unshare02.c | 41 {CLONE_NEWNS, EPERM, "CLONE_NEWNS"}
|
/third_party/ltp/testcases/kernel/syscalls/setns/ |
H A D | setns.h | 47 init_ns_type(CLONE_NEWNS, "mnt"); in init_available_ns()
|
/third_party/eudev/test/ |
H A D | test-udev.c | 45 /* Make sure CLONE_NEWNS macro is available */ 64 err = unshare(CLONE_NEWNS); in fake_filesystems()
|
/third_party/ltp/testcases/kernel/syscalls/clone3/ |
H A D | clone302.c | 42 {"fs-newns", &valid_args, sizeof(*valid_args), CLONE_FS | CLONE_NEWNS, NULL, SIGCHLD, 0, 0, 0, EINVAL},
|
/third_party/ltp/testcases/kernel/syscalls/pivot_root/ |
H A D | pivot_root01.c | 100 TEST(unshare(CLONE_NEWNS | CLONE_FS)); in run()
|
/third_party/toybox/scripts/ |
H A D | genconfig.sh | 39 int x=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET;
|
/third_party/toybox/toys/other/ |
H A D | nsenter.c | 122 CLONE_NEWNS, CLONE_NEWIPC}, f = 0; in unshare_main()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | sched.h | 57 #define CLONE_NEWNS 0x00020000 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | sched.h | 49 #define CLONE_NEWNS 0x00020000 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | sched.h | 49 #define CLONE_NEWNS 0x00020000 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | sched.h | 51 #define CLONE_NEWNS 0x00020000 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | sched.h | 49 #define CLONE_NEWNS 0x00020000 macro
|