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

/linux-4.4.14/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c30 #ifndef CLONE_NEWUSER
31 # define CLONE_NEWUSER 0x10000000 macro
161 if (unshare(CLONE_NEWUSER) !=0) { create_and_enter_userns()
162 die("unshare(CLONE_NEWUSER) failed: %s\n", create_and_enter_userns()
/linux-4.4.14/include/linux/
H A Duser_namespace.h90 if (unshare_flags & CLONE_NEWUSER) unshare_userns()
/linux-4.4.14/include/uapi/linux/
H A Dsched.h28 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
/linux-4.4.14/tools/testing/selftests/capabilities/
H A Dtest_execve.c113 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { create_and_enter_ns()
/linux-4.4.14/kernel/
H A Dfork.c1258 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) copy_process()
1291 if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || copy_process()
1885 CLONE_NEWUSER|CLONE_NEWPID)) check_unshare_flags()
1969 if (unshare_flags & CLONE_NEWUSER) SYSCALL_DEFINE1()
H A Duser_namespace.c123 if (!(unshare_flags & CLONE_NEWUSER)) unshare_userns()
1002 .type = CLONE_NEWUSER,
H A Dcred.c347 if (clone_flags & CLONE_NEWUSER) { copy_creds()

Completed in 175 milliseconds