kernel_samsung_a53x/fs/notify
Amir Goldstein 3d09e15ac0 fanotify: cleanups for fanotify_mark() input validations
[ Upstream commit 8afd7215aa97f8868d033f6e1d01a276ab2d29c0 ]

Create helper fanotify_may_update_existing_mark() for checking for
conflicts between existing mark flags and fanotify_mark() flags.

Use variable mark_cmd to make the checks for mark command bits
cleaner.

Link: https://lore.kernel.org/r/20220629144210.2983229-3-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.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:59 +01:00
..
dnotify dnotify: use fsnotify group lock helpers 2024-11-19 12:27:55 +01:00
fanotify fanotify: cleanups for fanotify_mark() input validations 2024-11-19 12:27:59 +01:00
inotify fs: inotify: Fix typo in inotify comment 2024-11-19 12:27:59 +01:00
fdinfo.c fanotify: prepare for setting event flags in ignore mask 2024-11-19 12:27:59 +01:00
fdinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.c fanotify: prepare for setting event flags in ignore mask 2024-11-19 12:27:59 +01:00
fsnotify.h fsnotify: count all objects with attached connectors 2024-11-19 12:27:44 +01:00
group.c fsnotify: create helpers for group mark_mutex lock 2024-11-19 12:27:55 +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: allow adding an inode mark without pinning inode 2024-11-19 12:27:55 +01:00
notification.c fsnotify: Pass group argument to free_event 2024-11-19 12:27:46 +01:00