Home
last modified time | relevance | path

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

123

/external/strace/xlat/
Dsetns_types.h34 #if defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER)
36 static_assert((CLONE_NEWUSER) == (0x10000000), "CLONE_NEWUSER != 0x10000000");
39 # define CLONE_NEWUSER 0x10000000
66 XLAT(CLONE_NEWUSER),
Dclone_flags.h139 #if defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER)
141 static_assert((CLONE_NEWUSER) == (0x10000000), "CLONE_NEWUSER != 0x10000000");
144 # define CLONE_NEWUSER 0x10000000
197 XLAT(CLONE_NEWUSER),
Dunshare_flags.h47 #if defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER)
48 XLAT(CLONE_NEWUSER),
Dunshare_flags.in11 CLONE_NEWUSER
Dsetns_types.in6 CLONE_NEWUSER 0x10000000
/external/linux-kselftest/tools/testing/selftests/uevent/
Duevent_filtering.c128 if (post_flags & CLONE_NEWUSER) { in uevent_listener()
129 ret = unshare(CLONE_NEWUSER); in uevent_listener()
274 if (pre_flags & CLONE_NEWUSER) { in do_test()
275 ret = unshare(CLONE_NEWUSER); in do_test()
417 ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); in TEST()
431 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST()
461 ret = do_test(0, CLONE_NEWUSER, true, sync_fd); in TEST()
477 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
/external/ltp/testcases/kernel/containers/userns/
Duserns04.c59 ret = ltp_syscall(__NR_setns, ((long)arg), CLONE_NEWUSER); in child_fn2()
80 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_cap_sys_admin()
88 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_cap_sys_admin()
98 if (ltp_syscall(__NR_setns, fd, CLONE_NEWUSER) == -1) { in test_cap_sys_admin()
Duserns05.c87 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_userns_id()
101 if (unshare(CLONE_NEWUSER) == -1) { in test_userns_id()
Duserns07.c59 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in child_fn1()
96 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_max_nest()
Duserns06.c125 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main()
131 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main()
Duserns03.c178 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main()
184 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main()
/external/strace/tests-m32/
Dioctl_nsfs.c41 #ifndef CLONE_NEWUSER
42 # define CLONE_NEWUSER 0x10000000 macro
123 CLONE_NEWUSER | CLONE_UNTRACED | SIGCHLD, pipefd); in test_user_namespace()
/external/strace/tests-mx32/
Dioctl_nsfs.c41 #ifndef CLONE_NEWUSER
42 # define CLONE_NEWUSER 0x10000000 macro
123 CLONE_NEWUSER | CLONE_UNTRACED | SIGCHLD, pipefd); in test_user_namespace()
/external/strace/tests/
Dioctl_nsfs.c41 #ifndef CLONE_NEWUSER
42 # define CLONE_NEWUSER 0x10000000 macro
123 CLONE_NEWUSER | CLONE_UNTRACED | SIGCHLD, pipefd); in test_user_namespace()
/external/ltp/include/lapi/
Dnamespaces_constants.h31 #ifndef CLONE_NEWUSER
32 # define CLONE_NEWUSER 0x10000000 macro
/external/syzkaller/sys/linux/
Dnamespaces.txt15 …ONE_NEWCGROUP, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, CLONE_NEWUSER, CLONE_NEWUTS,…
16 …CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWUTS, CLONE_NEWCGROUP, CLONE_NEWNS, CLONE_NEWPID, CLONE_NEWUSER
Dnamespaces_arm64.const9 CLONE_NEWUSER = 268435456
Dnamespaces_386.const9 CLONE_NEWUSER = 268435456
Dnamespaces_amd64.const9 CLONE_NEWUSER = 268435456
Dnamespaces_ppc64le.const9 CLONE_NEWUSER = 268435456
Dnamespaces_arm.const9 CLONE_NEWUSER = 268435456
/external/linux-kselftest/tools/testing/selftests/nsfs/
Downer.c42 if (unshare(CLONE_NEWUTS | CLONE_NEWUSER)) in main()
81 if (unshare(CLONE_NEWUSER)) in main()
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c31 #ifndef CLONE_NEWUSER
32 # define CLONE_NEWUSER 0x10000000 macro
162 if (unshare(CLONE_NEWUSER) !=0) { in create_and_enter_userns()
/external/ltp/testcases/kernel/containers/share/
Dns_common.h36 {"user", CLONE_NEWUSER},
/external/kernel-headers/original/uapi/linux/
Dsched.h28 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro

123