Module nix::sys::fanotify

source ·
Available on crate feature fanotify only.
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 via Fanotify::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 the Fanotify group to allow or deny an event.

Constants§