Module server

Source

Structsยง

Server

Constantsยง

DIRENT_PADDING ๐Ÿ”’
SELINUX_XATTR_CSTR ๐Ÿ”’

Traitsยง

Mapper
A trait for memory mapping for DAX.
Reader
A trait for reading from the underlying FUSE endpoint.
Writer
A trait for writing to the underlying FUSE endpoint. The FUSE device expects the write operation to happen in one write transaction. Since there are cases when data needs to be generated earlier than the header, it implies the writer implementation to keep an internal buffer. The buffer then can be flushed once header and data are both prepared.

Functionsยง

add_dirent ๐Ÿ”’
bytes_to_cstr ๐Ÿ”’
finish_ioctl ๐Ÿ”’
parse_selinux_xattr ๐Ÿ”’
Parses the value of the desired attribute from the FUSE request input and returns it as an Ok(CStr). Returns Ok(None) if buf is empty or appears to be a valid request extension that does not contain any security context information.
reply_error ๐Ÿ”’
reply_ok ๐Ÿ”’
reply_readdir ๐Ÿ”’
retry_ioctl ๐Ÿ”’