Home
last modified time | relevance | path

Searched refs:CLONE_NEWNS (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/tools/testing/selftests/mount/
Dunprivileged-remount-test.c18 #ifndef CLONE_NEWNS
19 # define CLONE_NEWNS 0x00020000 macro
210 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()
/linux-4.4.14/include/uapi/linux/
Dsched.h16 #define CLONE_NEWNS 0x00020000 /* New mount namespace group */ macro
/linux-4.4.14/kernel/
Dnsproxy.c130 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()
Dfork.c1255 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()
/linux-4.4.14/tools/testing/selftests/capabilities/
Dtest_execve.c97 if (unshare(CLONE_NEWNS) == 0) { in create_and_enter_ns()
113 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { in create_and_enter_ns()
/linux-4.4.14/Documentation/
Dunshare.txt150 CLONE_NEWNS
151 If CLONE_NEWNS is set, the namespace of the caller is
162 EPERM CLONE_NEWNS was specified by a non-root process (process
243 CLONE_NEWNS is set, force CLONE_FS.
/linux-4.4.14/drivers/base/
Ddevtmpfs.c380 *err = sys_unshare(CLONE_NEWNS); in devtmpfsd()
/linux-4.4.14/Documentation/filesystems/
Ddevpts.txt50 where 'ns_exec -cm /bin/bash' calls clone() with CLONE_NEWNS flag and execs
/linux-4.4.14/fs/
Dnamespace.c2784 if (likely(!(flags & CLONE_NEWNS))) { in copy_mnt_ns()
3342 .type = CLONE_NEWNS,