Module naughtyfy::api

source ·
Expand description

Low level function mapping for fanotify

Statics

Length of memory to be allocated for read buffer

Traits

Converts the implemented types to OsStr using as_os_str() method.
This is NOT std::path::Path

Functions

Closes the file descriptor returned by fanotify_init()
Initializes a new fanotify group and returns a file descriptor for the event queue associated with the group.
Adds, removes, or modifies an fanotify mark on a filesystem object. The caller must have read permission on the filesystem object that is to be marked.
This function ateempts to read from a file descriptor fanotify_fd into a Vec<fanotify_event_metadata> and return a Result.