Searched refs:CLONE_NEWNS (Results 1 – 9 of 9) sorted by relevance
18 #ifndef CLONE_NEWNS19 # define CLONE_NEWNS 0x00020000 macro210 if (unshare(CLONE_NEWNS) != 0) { in test_unpriv_remount()224 if (unshare(CLONE_NEWNS) != 0) { in test_unpriv_remount()290 ret = unshare(CLONE_NEWNS); in test_priv_mount_unpriv_remount()
16 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
130 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in copy_namespaces()182 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in unshare_nsproxy_namespaces()
1255 if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) in copy_process()1882 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()1984 if (unshare_flags & CLONE_NEWNS) in SYSCALL_DEFINE1()
97 if (unshare(CLONE_NEWNS) == 0) { in create_and_enter_ns()113 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { in create_and_enter_ns()
150 CLONE_NEWNS151 If CLONE_NEWNS is set, the namespace of the caller is162 EPERM CLONE_NEWNS was specified by a non-root process (process243 CLONE_NEWNS is set, force CLONE_FS.
380 *err = sys_unshare(CLONE_NEWNS); in devtmpfsd()
50 where 'ns_exec -cm /bin/bash' calls clone() with CLONE_NEWNS flag and execs
2784 if (likely(!(flags & CLONE_NEWNS))) { in copy_mnt_ns()3342 .type = CLONE_NEWNS,