kernel_samsung_a53x/fs/notify
Gabriel Krisman Bertazi a081701164 fanotify: WARN_ON against too large file handles
[ Upstream commit 572c28f27a269f88e2d8d7b6b1507f114d637337 ]

struct fanotify_error_event, at least, is preallocated and isn't able to
to handle arbitrarily large file handles.  Future-proof the code by
complaining loudly if a handle larger than MAX_HANDLE_SZ is ever found.

Link: https://lore.kernel.org/r/20211025192746.66445-26-krisman@collabora.com
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:47 +01:00
..
dnotify file: Rename fcheck lookup_fd_rcu 2024-11-19 12:27:27 +01:00
fanotify fanotify: WARN_ON against too large file handles 2024-11-19 12:27:47 +01:00
inotify fsnotify: Pass group argument to free_event 2024-11-19 12:27:46 +01:00
fdinfo.c fanotify: fix permission model of unprivileged group 2024-11-19 12:27:37 +01:00
fdinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.c fsnotify: Protect fsnotify_handle_inode_event from no-inode events 2024-11-19 12:27:46 +01:00
fsnotify.h fsnotify: count all objects with attached connectors 2024-11-19 12:27:44 +01:00
group.c fsnotify: Pass group argument to free_event 2024-11-19 12:27:46 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mark.c fsnotify: fix sb_connectors leak 2024-11-19 12:27:45 +01:00
notification.c fsnotify: Pass group argument to free_event 2024-11-19 12:27:46 +01:00