diff options
author | Amir Goldstein <amir73il@gmail.com> | 2022-06-29 17:42:09 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-07-01 14:51:49 +0200 |
commit | 8afd7215aa97f8868d033f6e1d01a276ab2d29c0 (patch) | |
tree | 5e5db4b5d657460abb6165b38821d3de13464165 /tools/perf/scripts/python/syscall-counts.py | |
parent | 31a371e419c885e0f137ce70395356ba8639dc52 (diff) | |
download | linux-8afd7215aa97f8868d033f6e1d01a276ab2d29c0.tar.gz linux-8afd7215aa97f8868d033f6e1d01a276ab2d29c0.tar.bz2 linux-8afd7215aa97f8868d033f6e1d01a276ab2d29c0.zip |
fanotify: cleanups for fanotify_mark() input validations
Create helper fanotify_may_update_existing_mark() for checking for
conflicts between existing mark flags and fanotify_mark() flags.
Use variable mark_cmd to make the checks for mark command bits
cleaner.
Link: https://lore.kernel.org/r/20220629144210.2983229-3-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions