diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-16 11:42:15 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 22:23:37 +0300 |
commit | 85af5d9258cc5862167c578c63c65ac700a3fa19 (patch) | |
tree | 1e1fa02661ff1fb256add181ddfb6a2862fd5e59 /crypto | |
parent | 4ed6814a91cc71202e3de12cd1cb7cc59f3cee57 (diff) | |
download | linux-85af5d9258cc5862167c578c63c65ac700a3fa19.tar.xz |
fanotify: use FAN_EVENT_ON_CHILD as implicit flag on sb/mount/non-dir marks
Up to now, fanotify allowed to set the FAN_EVENT_ON_CHILD flag on
sb/mount marks and non-directory inode mask, but the flag was ignored.
Mask out the flag if it is provided by user on sb/mount/non-dir marks
and define it as an implicit flag that cannot be removed by user.
This flag is going to be used internally to request for events with
parent and name info.
Link: https://lore.kernel.org/r/20200716084230.30611-8-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions