Open
Description
Hi, at the moment nix only supports receiving the fanotify_event_metadata
from the Fanotify::read_events
method. This skips over all the additional information records that could be returned by fanotify (such as when FAN_REPORT_FID
is specified in InitFlags
).
The libc crate recently implemented the fanotify_event_info_fid
, fanotify_event_info_error
and fanotify_event_info_pidfd
structs, as well as a number of enums for the additional flags and event types.
Would you be open to a PR implementing these APIs into nix?