diff options
author | Amir Goldstein <amir73il@gmail.com> | 2025-05-16 21:28:02 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2025-05-19 22:46:34 +0200 |
commit | 90d1238047a6479674db4b35264e9519186af9e8 (patch) | |
tree | 4c40c129a30fafdee8dc75b924187cb060e55ab2 /arch/x86/kernel/dumpstack.c | |
parent | b9b410cc1875120a0a2f84fd61c026cc994049e2 (diff) |
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 'arch/x86/kernel/dumpstack.c')
0 files changed, 0 insertions, 0 deletions