diff options
author | Song Liu <[email protected]> | 2024-10-12 17:22:48 -0700 |
---|---|---|
committer | Jan Kara <[email protected]> | 2024-10-14 17:38:27 +0200 |
commit | 1cda52f1b4611f4daa9d89e69d9428fb4137dc3f (patch) | |
tree | f852c5ac8fefb8da87e20fd155c23a76e7ec68e2 /tools/perf/scripts/python/sctop.py | |
parent | 6485cf5ea253d40d507cd71253c9568c5470cd27 (diff) |
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 <[email protected]>
Acked-by: Paul Moore <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions