diff options
| author | Amir Goldstein <amir73il@gmail.com> | 2020-05-29 12:25:30 +0300 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-06-08 23:07:59 +0200 |
| commit | e9898cc8bacb150143ba1c69024969dee9b712be (patch) | |
| tree | 233e2baa12d5878d2ec3bfecb32651d18a53375a /man7 | |
| parent | e5a800c1357b6eb9b5e5a2da68370bd5b11a5b15 (diff) | |
| download | man-pages-e9898cc8bacb150143ba1c69024969dee9b712be.tar.gz | |
fanotify.7, fanotify_mark.2: Clarify FAN_ONDIR in output mask
FAN_ONDIR was an input only flag before introducing
FAN_REPORT_FID. Since the introduction of FAN_REPORT_FID, it can
also be in output mask.
Move the text describing its role in the output mask to fanotify.7
where the other output mask bits are documented.
[mtk: commit message tidy-up]
Reviewed-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
| -rw-r--r-- | man7/fanotify.7 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/man7/fanotify.7 b/man7/fanotify.7 index cb5193d465..2d80a01fb1 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -381,6 +381,24 @@ This is a synonym for: .IP FAN_MOVED_FROM | FAN_MOVED_TO .PP +The following bits may appear in +.I mask +only in conjunction with other event type bits: +.TP +.B FAN_ONDIR +The events described in the +.I mask +have occurred on a directory object. +Reporting events on directories requires setting this flag in the mark mask. +See +.BR fanotify_mark (2) +for additional details. +The +.BR FAN_ONDIR +flag is reported in an event mask only if the fanotify group has been +initialized with the flag +.BR FAN_REPORT_FID . +.PP The fields of the .I fanotify_event_info_fid structure are as follows: |
