linux/fs/notify/fanotify
Jan Kara ff57cd5863 fsnotify: Allocate overflow events with proper type
Commit 7053aee26a "fsnotify: do not share events between notification
groups" used overflow event statically allocated in a group with the
size of the generic notification event. This causes problems because
some code looks at type specific parts of event structure and gets
confused by a random data it sees there and causes crashes.

Fix the problem by allocating overflow event with type corresponding to
the group type so code cannot get confused.

Signed-off-by: Jan Kara <jack@suse.cz>
2014-02-25 11:18:06 +01: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
fanotify.c fanotify: Handle overflow in case of permission events 2014-02-25 11:17:58 +01:00
fanotify.h fanotify: Fix use after free for permission events 2014-01-29 13:57:17 +01:00
fanotify_user.c fsnotify: Allocate overflow events with proper type 2014-02-25 11:18:06 +01:00