Files
linux/fs
Amir Goldstein b8a6c3a2f0 fanotify: create overflow event type
The special overflow event is allocated as struct fanotify_path_event,
but with a null path.

Use a special event type to identify the overflow event, so the helper
fanotify_has_event_path() will always indicate a non null path.

Allocating the overflow event doesn't need any of the fancy stuff in
fanotify_alloc_event(), so create a simplified helper for allocating the
overflow event.

There is also no need to store and report the pid with an overflow event.

Link: https://lore.kernel.org/r/20200708111156.24659-7-amir73il@gmail.com
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2020-07-15 17:37:03 +02:00
..
2020-03-27 09:29:56 +00:00
2020-06-27 22:04:24 -07:00
2020-05-14 16:44:25 +02:00
2020-06-15 08:51:38 -06:00
2020-05-14 16:44:24 +02:00
2020-05-14 16:44:24 +02:00
2020-04-09 15:33:09 -04:00