diff options
author | Song Liu <song@kernel.org> | 2024-10-13 03:22:48 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-10-14 18:38:27 +0300 |
commit | 1cda52f1b4611f4daa9d89e69d9428fb4137dc3f (patch) | |
tree | f852c5ac8fefb8da87e20fd155c23a76e7ec68e2 /tools/perf/scripts/python/gecko.py | |
parent | 6485cf5ea253d40d507cd71253c9568c5470cd27 (diff) | |
download | linux-1cda52f1b4611f4daa9d89e69d9428fb4137dc3f.tar.xz |
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
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions