Function
fsconfig_set_string
(
fs_fd: BorrowedFd<'_>,
key: &CStr,
value: &CStr,
)
Source from the content-addressed store, hash-verified
| 104 | |
| 105 | #[inline] |
| 106 | pub(crate) fn fsconfig_set_string( |
| 107 | fs_fd: BorrowedFd<'_>, |
| 108 | key: &CStr, |
| 109 | value: &CStr, |
| 110 | ) -> io::Result<()> { |
| 111 | unsafe { |
| 112 | ret(syscall_readonly!( |
| 113 | __NR_fsconfig, |
| 114 | fs_fd, |
| 115 | super::types::FsConfigCmd::SetString, |
| 116 | key, |
| 117 | value, |
| 118 | zero() |
| 119 | )) |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | #[inline] |
| 124 | pub(crate) fn fsconfig_set_binary( |
Callers
nothing calls this directly
Tested by
no test coverage detected