fanotify.7, fanotify_init.2: Document FAN_REPORT_NAME
commitea4f577808ea713a363f15c9cee423ebf579648c
authorAmir Goldstein <amir73il@gmail.com>
Tue, 25 Aug 2020 11:40:56 +0000 (25 14:40 +0300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 28 Aug 2020 12:16:30 +0000 (28 14:16 +0200)
tree102522e6aa0136e340c44e0a3d7a9058a93d3f65
parente9f14fa0bbc13a86912bc558d7876eeff406bb58
fanotify.7, fanotify_init.2: Document FAN_REPORT_NAME

Document fanotify_init(2) flag FAN_REPORT_NAME and the format of
the event info type FAN_EVENT_INFO_TYPE_DFID_NAME.

The fanotify_fid.c example is extended to also report the name of
the created file or subdirectory.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/fanotify_init.2
man7/fanotify.7