MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / fsmount

Function fsmount

src/backend/linux_raw/mount/syscalls.rs:45–51  ·  view source on GitHub ↗
(
    fs_fd: BorrowedFd<'_>,
    flags: super::types::FsMountFlags,
    attr_flags: super::types::MountAttrFlags,
)

Source from the content-addressed store, hash-verified

43
44#[inline]
45pub(crate) fn fsmount(
46 fs_fd: BorrowedFd<'_>,
47 flags: super::types::FsMountFlags,
48 attr_flags: super::types::MountAttrFlags,
49) -> io::Result<OwnedFd> {
50 unsafe { ret_owned_fd(syscall_readonly!(__NR_fsmount, fs_fd, flags, attr_flags)) }
51}
52
53#[inline]
54pub(crate) fn move_mount(

Callers

nothing calls this directly

Calls 1

ret_owned_fdFunction · 0.50

Tested by

no test coverage detected