summaryrefslogtreecommitdiff
path: root/fs/eventfd.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2022-06-29 17:42:09 +0300
committerJan Kara <jack@suse.cz>2022-07-01 14:51:49 +0200
commit8afd7215aa97f8868d033f6e1d01a276ab2d29c0 (patch)
tree5e5db4b5d657460abb6165b38821d3de13464165 /fs/eventfd.c
parent31a371e419c885e0f137ce70395356ba8639dc52 (diff)
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 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions