(fd: BorrowedFd<'_>, nstype: c::c_int)
| 368 | |
| 369 | #[inline] |
| 370 | pub(crate) fn setns(fd: BorrowedFd<'_>, nstype: c::c_int) -> io::Result<c::c_int> { |
| 371 | unsafe { ret_c_int(syscall_readonly!(__NR_setns, fd, c_int(nstype))) } |
| 372 | } |
| 373 | |
| 374 | #[inline] |
| 375 | pub(crate) unsafe fn unshare(flags: crate::thread::UnshareFlags) -> io::Result<()> { |
nothing calls this directly
no test coverage detected