Searched refs:CLONE_NEWNS (Results 1 – 18 of 18) sorted by relevance
20 #ifndef CLONE_NEWNS21 # define CLONE_NEWNS 0x00020000 macro101 if (unshare(CLONE_NEWNS) != 0) { in test_fw_in_ns()
19 #ifndef CLONE_NEWNS20 # define CLONE_NEWNS 0x00020000 macro211 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()
111 if (unshare(CLONE_NEWNS) != 0) in create_and_enter_ns()
30 if (unshare(CLONE_NEWNS) == -1) { in main()
29 if (unshare(CLONE_NEWNS) == -1) { in main()
20 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
233 if (setns(newns, CLONE_NEWNS) < 0) in nsinfo__mountns_enter()254 setns(nc->oldns, CLONE_NEWNS); in nsinfo__mountns_exit()
34 err = unshare(CLONE_NEWNS); in fn()
45 if (CHECK_NEWNS(unshare(CLONE_NEWPID | CLONE_NEWNS), in main()
105 if (unshare(CLONE_NEWNS)) { in setup_cgroup_environment()
103 if (unshare(CLONE_NEWNS) == 0) { in create_and_enter_ns()121 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { in create_and_enter_ns()
42 [PIDFD_NS_MNT] = { "mnt", CLONE_NEWNS, },178 CLONE_NEWUSER | CLONE_NEWNS | in FIXTURE_SETUP()207 CLONE_NEWUSER | CLONE_NEWNS | in FIXTURE_SETUP()
95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
175 ret = unshare(CLONE_NEWNS); in test_pidfd_send_signal_recycled_pid_fail()
290 ret = unshare(CLONE_NEWNS); in main()
56 if (unshare(CLONE_NEWNS) == -1) { in make_private_tmp()
43 ret = unshare(CLONE_NEWNS); in change_mountns()
53 E_unshare(CLONE_NEWNS); in setup_testdir()