Home
last modified time | relevance | path

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

12

/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-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/strace/tests-m32/
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/syzkaller/sys/linux/
Dnamespaces_arm64.const15 __NR_setns = 268
Dnamespaces_386.const15 __NR_setns = 346
Dnamespaces_amd64.const15 __NR_setns = 308
Dnamespaces_ppc64le.const15 __NR_setns = 350
Dnamespaces_arm.const15 __NR_setns = 375
/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.h687 #define __NR_setns 268 macro
688 __SYSCALL(__NR_setns, sys_setns)
/external/kernel-headers/original/uapi/asm-mips/asm/
Dunistd_n64.h306 #define __NR_setns (__NR_Linux + 303) macro
Dunistd_n32.h311 #define __NR_setns (__NR_Linux + 308) macro
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h334 #define __NR_setns (__NR_SYSCALL_BASE + 375) macro

12