Function
fsconfig_set_fd
(
fs_fd: BorrowedFd<'_>,
key: &CStr,
fd: BorrowedFd<'_>,
)
Source from the content-addressed store, hash-verified
| 141 | |
| 142 | #[inline] |
| 143 | pub(crate) fn fsconfig_set_fd( |
| 144 | fs_fd: BorrowedFd<'_>, |
| 145 | key: &CStr, |
| 146 | fd: BorrowedFd<'_>, |
| 147 | ) -> io::Result<()> { |
| 148 | unsafe { |
| 149 | ret(syscall_readonly!( |
| 150 | __NR_fsconfig, |
| 151 | fs_fd, |
| 152 | super::types::FsConfigCmd::SetFd, |
| 153 | key, |
| 154 | zero(), |
| 155 | fd |
| 156 | )) |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | #[inline] |
| 161 | pub(crate) fn fsconfig_set_path( |
Callers
nothing calls this directly
Tested by
no test coverage detected