Home
last modified time | relevance | path

Searched refs:CLONE_NEWUSER (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/tools/testing/selftests/mount/
Dunprivileged-remount-test.c30 #ifndef CLONE_NEWUSER
31 # define CLONE_NEWUSER 0x10000000 macro
161 if (unshare(CLONE_NEWUSER) !=0) { in create_and_enter_userns()
/linux-4.1.27/include/uapi/linux/
Dsched.h28 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
/linux-4.1.27/include/linux/
Duser_namespace.h90 if (unshare_flags & CLONE_NEWUSER) in unshare_userns()
/linux-4.1.27/kernel/
Dfork.c1252 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process()
1286 if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || in copy_process()
1854 CLONE_NEWUSER|CLONE_NEWPID)) in check_unshare_flags()
1937 if (unshare_flags & CLONE_NEWUSER) in SYSCALL_DEFINE1()
Duser_namespace.c122 if (!(unshare_flags & CLONE_NEWUSER)) in unshare_userns()
1001 .type = CLONE_NEWUSER,
Dcred.c342 if (clone_flags & CLONE_NEWUSER) { in copy_creds()