fanotify: Add pids to events
Pass the process identifiers of the triggering processes to fanotify listeners: this information is useful for event filtering and logging. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
committed by
Eric Paris
parent
22aa425dec
commit
32c3263221
@@ -62,6 +62,7 @@ struct fanotify_event_metadata {
|
||||
__u32 vers;
|
||||
__s32 fd;
|
||||
__u64 mask;
|
||||
__s64 pid;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/* Helper functions to deal with fanotify_event_metadata buffers */
|
||||
|
Reference in New Issue
Block a user