linux/fs/notify/fanotify
Jan Kara 83c0e1b442 fsnotify: Do not return merged event from fsnotify_add_notify_event()
The event returned from fsnotify_add_notify_event() cannot ever be used
safely as the event may be freed by the time the function returns (after
dropping notification_mutex). So change the prototype to just return
whether the event was added or merged into some existing event.

Reported-and-tested-by: Jiri Kosina <jkosina@suse.cz>
Reported-and-tested-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: Jan Kara <jack@suse.cz>
2014-01-29 13:57:10 +01:00
..
fanotify_user.c compat: fix sys_fanotify_mark 2014-01-27 21:02:40 -08:00
fanotify.c fsnotify: Do not return merged event from fsnotify_add_notify_event() 2014-01-29 13:57:10 +01:00
fanotify.h fsnotify: do not share events between notification groups 2014-01-21 16:19:41 -08:00
Kconfig treewide: fix typo of "suport" in various comments and Kconfig 2012-11-19 14:16:09 +01:00
Makefile fanotify: fanotify_init syscall declaration 2010-07-28 09:58:55 -04:00