Expand description
Monitoring API for filesystem events.
Fanotify is a Linux-only API to monitor filesystems events.
Additional capabilities compared to the inotify
API include the ability to
monitor all of the objects in a mounted filesystem, the ability to make
access permission decisions, and the possibility to read or modify files
before access by other applications.
For more documentation, please read fanotify(7).
Structs§
- File status flags for fanotify events file descriptors.
- A fanotify group. This is also a file descriptor that can feed to other interfaces consuming file descriptors.
- Abstract over
libc::fanotify_event_metadata
, which represents an event received viaFanotify::read_events
. - Abstraction over the structure to be sent to allow or deny a given event.
- Configuration options for
Fanotify::init()
. - Configuration options for
Fanotify::mark()
. - Mask for defining which events shall be listened with
Fanotify::mark()
and for querying notifications. - Response to be wrapped in
FanotifyResponse
and sent to theFanotify
group to allow or deny an event.
Constants§
- Compile version number of fanotify API.