diff options
author | 2025-05-16 21:28:02 +0200 | |
---|---|---|
committer | 2025-05-19 22:46:34 +0200 | |
commit | 90d1238047a6479674db4b35264e9519186af9e8 (patch) | |
tree | 4c40c129a30fafdee8dc75b924187cb060e55ab2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fanotify: Drop use of flex array in fanotify_fh (diff) | |
download | linux-rng-90d1238047a6479674db4b35264e9519186af9e8.tar.xz linux-rng-90d1238047a6479674db4b35264e9519186af9e8.zip |
fanotify: remove redundant permission checks
FAN_UNLIMITED_QUEUE and FAN_UNLIMITED_MARK flags are already checked
as part of the CAP_SYS_ADMIN check for any FANOTIFY_ADMIN_INIT_FLAGS.
Remove the individual CAP_SYS_ADMIN checks for these flags.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20250516192803.838659-2-amir73il@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions