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

Function fsconfig_set_flag

src/backend/linux_raw/mount/syscalls.rs:92–103  ·  view source on GitHub ↗
(fs_fd: BorrowedFd<'_>, key: &CStr)

Source from the content-addressed store, hash-verified

90
91#[inline]
92pub(crate) fn fsconfig_set_flag(fs_fd: BorrowedFd<'_>, key: &CStr) -> io::Result<()> {
93 unsafe {
94 ret(syscall_readonly!(
95 __NR_fsconfig,
96 fs_fd,
97 super::types::FsConfigCmd::SetFlag,
98 key,
99 zero(),
100 zero()
101 ))
102 }
103}
104
105#[inline]
106pub(crate) fn fsconfig_set_string(

Callers

nothing calls this directly

Calls 1

retFunction · 0.50

Tested by

no test coverage detected