Searched refs:CLONE_NEWNS (Results 1 – 18 of 18) sorted by relevance
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()
30 if (unshare(CLONE_NEWNS) == -1) { in main()
29 if (unshare(CLONE_NEWNS) == -1) { in main()
233 if (setns(newns, CLONE_NEWNS) < 0) in nsinfo__mountns_enter()254 setns(nc->oldns, CLONE_NEWNS); in nsinfo__mountns_exit()
20 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
140 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in copy_namespaces()194 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in unshare_nsproxy_namespaces()
1780 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process()2734 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()2836 if (unshare_flags & CLONE_NEWNS) in ksys_unshare()
24 ret = unshare(CLONE_NEWNS); in main()
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()
105 if (unshare(CLONE_NEWNS)) { in setup_cgroup_environment()
157 CLONE_NEWNS158 If CLONE_NEWNS is set, the namespace of the caller is169 EPERM CLONE_NEWNS was specified by a non-root process (process266 CLONE_NEWNS is set, force CLONE_FS.
117 ret = unshare(CLONE_NEWNS); in change_to_mountns()
290 ret = unshare(CLONE_NEWNS); in main()
145 ret = unshare(CLONE_NEWNS); in test_pidfd_send_signal_recycled_pid_fail()
56 if (unshare(CLONE_NEWNS) == -1) { in make_private_tmp()
394 *err = ksys_unshare(CLONE_NEWNS); in devtmpfsd()
3224 if (likely(!(flags & CLONE_NEWNS))) { in copy_mnt_ns()4013 .type = CLONE_NEWNS,