]> git.baikalelectronics.ru Git - kernel.git/commit
fanotify: turn off support for FAN_DIR_MODIFY
authorAmir Goldstein <amir73il@gmail.com>
Wed, 27 May 2020 12:54:55 +0000 (15:54 +0300)
committerJan Kara <jack@suse.cz>
Wed, 27 May 2020 16:55:54 +0000 (18:55 +0200)
commite373ac52d15c570858f0d240511fa5e6f01827fe
tree8c0900fd6d54e2e5482eddc9e79d9a236e3dc7be
parent44dfe78c082c72de8892331a42c89b2c88b1e960
fanotify: turn off support for FAN_DIR_MODIFY

FAN_DIR_MODIFY has been enabled by commit fc9aabc0d0c9 ("fanotify:
report name info for FAN_DIR_MODIFY event") in 5.7-rc1. Now we are
planning further extensions to the fanotify API and during that we
realized that FAN_DIR_MODIFY may behave slightly differently to be more
consistent with extensions we plan. So until we finalize these
extensions, let's not bind our hands with exposing FAN_DIR_MODIFY to
userland.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify.c
include/linux/fanotify.h