Home
last modified time | relevance | path

Searched refs:__NR_setns (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/containers/userns/
Duserns04.c38 ltp_syscall(__NR_setns, -1, 0); in setup()
59 ret = ltp_syscall(__NR_setns, ((long)arg), CLONE_NEWUSER); in child_fn2()
98 if (ltp_syscall(__NR_setns, fd, CLONE_NEWUSER) == -1) { in test_cap_sys_admin()
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns02.c52 #if defined(__NR_setns) && defined(CLONE_NEWIPC) && defined(CLONE_NEWUTS)
88 if (syscall(__NR_setns, ns_uts_fd, ns_flag) == -1) { in do_child_newuts()
120 if (syscall(__NR_setns, ns_ipc_fd, ns_flag) == -1) { in do_child_newipc()
191 ltp_syscall(__NR_setns, -1, 0); in setup()
Dsetns01.c42 #if defined(__NR_setns)
169 ret = syscall(__NR_setns, t->fd, t->ns_type); in test_setns()
207 ltp_syscall(__NR_setns, -1, 0); in setup()
/external/strace/tests-m32/
Dsetns.c34 #ifdef __NR_setns
59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); in main()
/external/strace/tests-mx32/
Dsetns.c34 #ifdef __NR_setns
59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); in main()
/external/strace/tests/
Dsetns.c34 #ifdef __NR_setns
59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); in main()
/external/iproute2/include/
Dnamespace.h42 #ifdef __NR_setns in setns()
43 return syscall(__NR_setns, fd, nstype); in setns()
/external/ltp/testcases/kernel/containers/share/
Dns_exec.c101 rv = syscall(__NR_setns, -1, 0); in main()
133 if (syscall(__NR_setns, ns_fd[i], 0) == -1) { in main()
Dsetns_check.c28 if (syscall(__NR_setns, -1, 0) == -1 && errno == ENOSYS) in main()
/external/bcc/src/cc/includes/
Dsetns.h12 #define setns(FD, NSTYPE) syscall(__NR_setns, (int)(FD), (int)(NSTYPE))
/external/bcc/src/cc/
Dsetns.h12 #define setns(FD, NSTYPE) syscall(__NR_setns, (int)(FD), (int)(NSTYPE))
/external/minijail/linux-x86/
Dlibsyscalls.gen.c930 #ifdef __NR_setns
931 { "setns", __NR_setns },
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h312 #define __NR_setns 308 macro
Dunistd_32.h346 #define __NR_setns 346 macro
Dunistd_x32.h270 #define __NR_setns (__X32_SYSCALL_BIT + 308) macro
/external/strace/
Dscno.h932 #ifndef __NR_setns
933 # define __NR_setns (SYSCALL_BIT | 308) macro
/external/kernel-headers/original/uapi/asm-generic/
Dunistd.h725 #define __NR_setns 268 macro
726 __SYSCALL(__NR_setns, sys_setns)
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h334 #define __NR_setns (__NR_SYSCALL_BASE + 375) macro
/external/llvm-project/libc/config/linux/
Dsyscall_numbers.h.inc1873 #ifdef __NR_setns
1874 #define SYS_setns __NR_setns