Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/include/uapi/linux/
Dsched.h28 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
/linux-4.4.14/include/linux/
Duser_namespace.h90 if (unshare_flags & CLONE_NEWUSER) in unshare_userns()
/linux-4.4.14/kernel/
Dfork.c1258 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process()
1291 if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || in copy_process()
1885 CLONE_NEWUSER|CLONE_NEWPID)) in check_unshare_flags()
1969 if (unshare_flags & CLONE_NEWUSER) in SYSCALL_DEFINE1()
Duser_namespace.c123 if (!(unshare_flags & CLONE_NEWUSER)) in unshare_userns()
1002 .type = CLONE_NEWUSER,
Dcred.c347 if (clone_flags & CLONE_NEWUSER) { in copy_creds()
/linux-4.4.14/tools/testing/selftests/capabilities/
Dtest_execve.c113 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { in create_and_enter_ns()