mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
1f5eaa9001
Fanotify queues of unlimited length do not expect events can be lost. Since these queues are used for system auditing and other security related tasks, loosing events can even have security implications. Currently, since the allocation is small (32-bytes), it cannot fail however when we start accounting events in memcgs, allocation can start failing. So avoid loosing events due to failure to allocate memory by making event allocation use __GFP_NOFAIL. Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> |
||
---|---|---|
.. | ||
fanotify_user.c | ||
fanotify.c | ||
fanotify.h | ||
Kconfig | ||
Makefile |