linux/security
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
..
2024-09-24 10:40:11 -07:00
2024-09-24 14:54:26 -07:00
2024-09-24 10:18:15 -07:00
2024-09-16 18:19:47 +02:00
2023-05-25 17:52:15 -04:00
2024-08-19 22:36:26 -04:00