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

12

/external/ltp/include/lapi/
H A Dnamespaces_constants.h31 #ifndef CLONE_NEWUSER
32 # define CLONE_NEWUSER 0x10000000 macro
/external/strace/xlat/
H A Dsetns_types.h14 #if !(defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER))
15 # define CLONE_NEWUSER 0x10000000 macro
32 XLAT(CLONE_NEWUSER),
H A Dunshare_flags.h41 #if defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER)
42 XLAT(CLONE_NEWUSER),
H A Dclone_flags.h59 #if !(defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER))
60 # define CLONE_NEWUSER 0x10000000 macro
99 XLAT(CLONE_NEWUSER),
/external/ltp/testcases/kernel/containers/share/
H A Dns_common.h36 {"user", CLONE_NEWUSER},
/external/ltp/testcases/kernel/containers/userns/
H A Duserns04.c59 ret = ltp_syscall(__NR_setns, ((long)arg), CLONE_NEWUSER);
80 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
88 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
98 if (ltp_syscall(__NR_setns, fd, CLONE_NEWUSER) == -1) {
H A Duserns_helper.h33 tst_brkm(TCONF, NULL, "CLONE_NEWUSER not supported");
35 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWUSER, dummy_child, NULL);
37 tst_brkm(TCONF | TERRNO, NULL, "CLONE_NEWUSER not supported");
H A Duserns05.c17 * CLONE_NEWUSER flag is a member of the same user namespace as its
82 CLONE_NEWUSER flag is a member of the same user namespace as its
87 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
101 if (unshare(CLONE_NEWUSER) == -1) {
H A Duserns07.c59 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
96 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
H A Duserns06.c125 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
131 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
H A Duserns01.c107 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWUSER,
H A Duserns03.c178 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
184 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
H A Duserns02.c84 childpid = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD,
/external/strace/tests/
H A Dioctl_nsfs.c41 #ifndef CLONE_NEWUSER
42 # define CLONE_NEWUSER 0x10000000 macro
80 printf("ioctl(%d, NS_GET_NSTYPE) = %d (CLONE_NEWUSER)\n",
123 CLONE_NEWUSER | CLONE_UNTRACED | SIGCHLD, pipefd);
/external/strace/tests-m32/
H A Dioctl_nsfs.c41 #ifndef CLONE_NEWUSER
42 # define CLONE_NEWUSER 0x10000000 macro
80 printf("ioctl(%d, NS_GET_NSTYPE) = %d (CLONE_NEWUSER)\n",
123 CLONE_NEWUSER | CLONE_UNTRACED | SIGCHLD, pipefd);
/external/strace/tests-mx32/
H A Dioctl_nsfs.c41 #ifndef CLONE_NEWUSER
42 # define CLONE_NEWUSER 0x10000000 macro
80 printf("ioctl(%d, NS_GET_NSTYPE) = %d (CLONE_NEWUSER)\n",
123 CLONE_NEWUSER | CLONE_UNTRACED | SIGCHLD, pipefd);
/external/kernel-headers/original/uapi/linux/
H A Dsched.h28 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
/external/linux-kselftest/tools/testing/selftests/nsfs/
H A Downer.c42 if (unshare(CLONE_NEWUTS | CLONE_NEWUSER))
81 if (unshare(CLONE_NEWUSER))
H A Dpidns.c50 pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL);
/external/toybox/toys/other/
H A Dnsenter.c119 unsigned flags[]={CLONE_NEWUSER, CLONE_NEWUTS, CLONE_NEWPID, CLONE_NEWNET,
/external/linux-kselftest/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c31 #ifndef CLONE_NEWUSER
32 # define CLONE_NEWUSER 0x10000000 macro
162 if (unshare(CLONE_NEWUSER) !=0) {
163 die("unshare(CLONE_NEWUSER) failed: %s\n",
/external/honggfuzz/
H A Dcmdline.c594 hfuzz->linux.cloneFlags |= (CLONE_NEWUSER | CLONE_NEWNET);
597 hfuzz->linux.cloneFlags |= (CLONE_NEWUSER | CLONE_NEWPID);
600 hfuzz->linux.cloneFlags |= (CLONE_NEWUSER | CLONE_NEWIPC);
/external/minijail/linux-x86/
H A Dlibconstants.gen.c89 #ifdef CLONE_NEWUSER
90 { "CLONE_NEWUSER", (unsigned long) CLONE_NEWUSER },
91 #endif // CLONE_NEWUSER
/external/honggfuzz/examples/linux_kernel_ip/
H A Dtun.c68 if (unshare(CLONE_NEWUSER | CLONE_NEWNET) == -1) {
/external/linux-kselftest/tools/testing/selftests/capabilities/
H A Dtest_execve.c121 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) {

Completed in 468 milliseconds

12