Function
move_mount
(
from_dfd: BorrowedFd<'_>,
from_pathname: &CStr,
to_dfd: BorrowedFd<'_>,
to_pathname: &CStr,
flags: super::types::MoveMountFlags,
)
Source from the content-addressed store, hash-verified
| 52 | |
| 53 | #[inline] |
| 54 | pub(crate) fn move_mount( |
| 55 | from_dfd: BorrowedFd<'_>, |
| 56 | from_pathname: &CStr, |
| 57 | to_dfd: BorrowedFd<'_>, |
| 58 | to_pathname: &CStr, |
| 59 | flags: super::types::MoveMountFlags, |
| 60 | ) -> io::Result<()> { |
| 61 | unsafe { |
| 62 | ret(syscall_readonly!( |
| 63 | __NR_move_mount, |
| 64 | from_dfd, |
| 65 | from_pathname, |
| 66 | to_dfd, |
| 67 | to_pathname, |
| 68 | flags |
| 69 | )) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | #[inline] |
| 74 | pub(crate) fn open_tree( |
Callers
nothing calls this directly
Tested by
no test coverage detected