Home
last modified time | relevance | path

Searched refs:nstype (Results 1 - 11 of 11) sorted by relevance

/third_party/musl/src/linux/
H A Dsetns.c5 int setns(int fd, int nstype) in setns() argument
7 return syscall(SYS_setns, fd, nstype); in setns()
/third_party/ltp/include/lapi/
H A Dsetns.h14 static inline int setns(int fd, int nstype) in setns() argument
16 return tst_syscall(__NR_setns, fd, nstype); in setns()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsetns.c56 int nstype = 0; in setns_0200() local
59 int result = setns(fd, nstype); in setns_0200()
/third_party/toybox/toys/other/
H A Dnsenter.c71 #define setns(fd, nstype) syscall(SYS_setns, fd, nstype)
/third_party/ltp/lib/
H A Dtst_safe_macros.c461 int safe_setns(const char *file, const int lineno, int fd, int nstype) in safe_setns() argument
465 ret = setns(fd, nstype); in safe_setns()
469 fd, nstype); in safe_setns()
472 "Invalid setns(%i, %i) return value %d", fd, nstype, in safe_setns()
/third_party/rust/crates/nix/src/
H A Dsched.rs139 pub fn setns(fd: RawFd, nstype: CloneFlags) -> Result<()> { in setns()
140 let res = unsafe { libc::setns(fd, nstype.bits()) }; in setns()
/third_party/rust/crates/rustix/src/backend/libc/thread/
H A Dsyscalls.rs293 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> {
294 unsafe { ret_c_int(c::setns(borrowed_fd(fd), nstype)) }
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/
H A Dsyscalls.rs288 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> {
289 unsafe { ret_c_int(syscall_readonly!(__NR_setns, fd, c_int(nstype))) }
/third_party/ltp/include/
H A Dtst_safe_macros.h646 int safe_setns(const char *file, const int lineno, int fd, int nstype);
647 #define SAFE_SETNS(fd, nstype) safe_setns(__FILE__, __LINE__, (fd), (nstype))
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3256 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs4154 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()

Completed in 24 milliseconds