linux-stable/fs/notify/fanotify
Song Liu 1cda52f1b4 fsnotify, lsm: Decouple fsnotify from lsm
Currently, fsnotify_open_perm() is called from security_file_open().
This is a a bit unexpected and creates otherwise unnecessary dependency
of CONFIG_FANOTIFY_ACCESS_PERMISSIONS on CONFIG_SECURITY. Fix this by
calling fsnotify_open_perm() directly.

Signed-off-by: Song Liu <song@kernel.org>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20241013002248.3984442-1-song@kernel.org
2024-10-14 17:38:27 +02:00
..
fanotify_user.c inotify: Fix possible deadlock in fsnotify_destroy_mark 2024-10-02 15:14:29 +02:00
fanotify.c fanotify: allow freeze when waiting response for permission events 2024-03-07 12:59:51 +01:00
fanotify.h fanotify: allow "weak" fsid when watching a single filesystem 2023-12-01 10:55:21 +01:00
Kconfig fsnotify, lsm: Decouple fsnotify from lsm 2024-10-14 17:38:27 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00