Home
last modified time | relevance | path

Searched refs:nstype (Results 1 – 13 of 13) sorted by relevance

/external/strace/tests-m32/
Dioctl_nsfs.c75 int nstype = ioctl(userns_fd, NS_GET_NSTYPE); in test_clone() local
76 if (nstype == -1) { in test_clone()
78 userns_fd, sprintrc(nstype)); in test_clone()
81 userns_fd, nstype); in test_clone()
/external/strace/tests/
Dioctl_nsfs.c75 int nstype = ioctl(userns_fd, NS_GET_NSTYPE); in test_clone() local
76 if (nstype == -1) { in test_clone()
78 userns_fd, sprintrc(nstype)); in test_clone()
81 userns_fd, nstype); in test_clone()
/external/strace/tests-mx32/
Dioctl_nsfs.c75 int nstype = ioctl(userns_fd, NS_GET_NSTYPE); in test_clone() local
76 if (nstype == -1) { in test_clone()
78 userns_fd, sprintrc(nstype)); in test_clone()
81 userns_fd, nstype); in test_clone()
/external/iproute2/include/
Dnamespace.h40 static inline int setns(int fd, int nstype) in setns() argument
43 return syscall(__NR_setns, fd, nstype); in setns()
/external/toybox/toys/other/
Dnsenter.c71 #define setns(fd, nstype) syscall(SYS_setns, fd, nstype) argument
/external/rust/crates/nix/src/
Dsched.rs213 pub fn setns(fd: RawFd, nstype: CloneFlags) -> Result<()> { in setns()
214 let res = unsafe { libc::setns(fd, nstype.bits()) }; in setns()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1806 #define __sanitizer_syscall_pre_setns(fd, nstype) \ argument
1807 __sanitizer_syscall_pre_impl_setns((long)(fd), (long)(nstype))
1808 #define __sanitizer_syscall_post_setns(res, fd, nstype) \ argument
1809 __sanitizer_syscall_post_impl_setns(res, (long)(fd), (long)(nstype))
3052 void __sanitizer_syscall_pre_impl_setns(long fd, long nstype);
3053 void __sanitizer_syscall_post_impl_setns(long res, long fd, long nstype);
/external/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1805 #define __sanitizer_syscall_pre_setns(fd, nstype) \ argument
1806 __sanitizer_syscall_pre_impl_setns((long)(fd), (long)(nstype))
1807 #define __sanitizer_syscall_post_setns(res, fd, nstype) \ argument
1808 __sanitizer_syscall_post_impl_setns(res, (long)(fd), (long)(nstype))
3053 void __sanitizer_syscall_pre_impl_setns(long fd, long nstype);
3054 void __sanitizer_syscall_post_impl_setns(long res, long fd, long nstype);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2800 PRE_SYSCALL(setns)(long fd, long nstype) {}
2802 POST_SYSCALL(setns)(long res, long fd, long nstype) {}
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2801 PRE_SYSCALL(setns)(long fd, long nstype) {}
2803 POST_SYSCALL(setns)(long res, long fd, long nstype) {}
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2529 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3304 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()
/external/strace/
DChangeLog24485 clone: use separate xlat for nstype parameter of setns syscall.
24486 nstype is not flag set but specific type value against which it is
24490 * clone.c: Use printxval and setns_types for nstype parameter.