/external/ltp/testcases/kernel/containers/share/ |
H A D | setns_check.c | 28 if (syscall(__NR_setns, -1, 0) == -1 && errno == ENOSYS)
|
H A D | ns_exec.c | 101 rv = syscall(__NR_setns, -1, 0); 133 if (syscall(__NR_setns, ns_fd[i], 0) == -1) {
|
/external/iproute2/include/ |
H A D | namespace.h | 37 #ifdef __NR_setns 38 return syscall(__NR_setns, fd, nstype);
|
/external/strace/tests/ |
H A D | setns.c | 34 #ifdef __NR_setns 59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); 71 SKIP_MAIN_UNDEFINED("__NR_setns");
|
/external/strace/tests-m32/ |
H A D | setns.c | 34 #ifdef __NR_setns 59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); 71 SKIP_MAIN_UNDEFINED("__NR_setns");
|
/external/strace/tests-mx32/ |
H A D | setns.c | 34 #ifdef __NR_setns 59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); 71 SKIP_MAIN_UNDEFINED("__NR_setns");
|
/external/ltp/testcases/kernel/containers/userns/ |
H A D | userns04.c | 38 ltp_syscall(__NR_setns, -1, 0); 59 ret = ltp_syscall(__NR_setns, ((long)arg), CLONE_NEWUSER); 98 if (ltp_syscall(__NR_setns, fd, CLONE_NEWUSER) == -1) {
|
/external/ltp/testcases/kernel/syscalls/setns/ |
H A D | setns02.c | 52 #if defined(__NR_setns) && defined(CLONE_NEWIPC) && defined(CLONE_NEWUTS) 88 if (syscall(__NR_setns, ns_uts_fd, ns_flag) == -1) { 120 if (syscall(__NR_setns, ns_ipc_fd, ns_flag) == -1) { 191 ltp_syscall(__NR_setns, -1, 0); 222 tst_brkm(TCONF, NULL, "__NR_setns, CLONE_NEWIPC or CLONE_NEWUTS "
|
H A D | setns01.c | 42 #if defined(__NR_setns) 169 ret = syscall(__NR_setns, t->fd, t->ns_type); 207 ltp_syscall(__NR_setns, -1, 0); 230 tst_brkm(TCONF, NULL, "__NR_setns is not defined on your system.");
|
/external/valgrind/include/vki/ |
H A D | vki-scnums-amd64-linux.h | 392 #define __NR_setns 308 macro
|
H A D | vki-scnums-arm64-linux.h | 304 #define __NR_setns 268 macro
|
H A D | vki-scnums-s390x-linux.h | 307 #define __NR_setns 339 macro
|
H A D | vki-scnums-arm-linux.h | 414 #define __NR_setns 375 macro
|
H A D | vki-scnums-ppc32-linux.h | 395 #define __NR_setns 350 macro
|
H A D | vki-scnums-ppc64-linux.h | 387 #define __NR_setns 350 macro
|
H A D | vki-scnums-x86-linux.h | 383 #define __NR_setns 346 macro
|
H A D | vki-scnums-mips64-linux.h | 342 #define __NR_setns (__NR_Linux + 303) macro
|
/external/minijail/linux-x86/ |
H A D | libsyscalls.gen.c | 930 #ifdef __NR_setns 931 { "setns", __NR_setns },
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
H A D | unistd_32.h | 346 #define __NR_setns 346 macro
|
H A D | unistd_64.h | 312 #define __NR_setns 308 macro
|
H A D | unistd_x32.h | 270 #define __NR_setns (__X32_SYSCALL_BIT + 308) macro
|
/external/strace/ |
H A D | scno.h | 764 #ifndef __NR_setns 765 # define __NR_setns (SYSCALL_BIT | 268) macro
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
H A D | unistd.h | 368 #define __NR_setns (__NR_Linux + 344) macro 712 #define __NR_setns (__NR_Linux + 303) macro 1061 #define __NR_setns (__NR_Linux + 308) macro
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | unistd-common.h | 334 #define __NR_setns (__NR_SYSCALL_BASE + 375) macro
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | unistd.h | 685 #define __NR_setns 268 macro 686 __SYSCALL(__NR_setns, sys_setns)
|