mirror of https://github.com/mkerrisk/man-pages
fanotify_init.2: Move out of place entry FAN_REPORT_FID
It was inserted in the middle of the FAN_CLASS_ multi flags bit and broke the multi flag documentation. Reviewed-by: Matthew Bobrowski <mbobrowski@mbobrowski.org> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c3a3f611f6
commit
e5a800c135
|
@ -94,36 +94,6 @@ already contain their final content.
|
|||
This notification class might be used by malware detection programs, for
|
||||
example.
|
||||
.TP
|
||||
.BR FAN_REPORT_FID " (since Linux 5.1)"
|
||||
.\" commit a8b13aa20afb69161b5123b4f1acc7ea0a03d360
|
||||
This value allows the receipt of events which contain additional information
|
||||
about the underlying filesystem object correlated to an event.
|
||||
An additional structure encapsulates the information about the object and is
|
||||
included alongside the generic event metadata structure.
|
||||
The file descriptor that is used to represent the object correlated to an
|
||||
event is instead substituted with a file handle.
|
||||
It is intended for applications that may find the use of a file handle to
|
||||
identify an object more suitable than a file descriptor.
|
||||
Additionally, it may be used for applications that are interested in
|
||||
directory entry events, such as
|
||||
.BR FAN_CREATE ,
|
||||
.BR FAN_ATTRIB ,
|
||||
.BR FAN_MOVE ,
|
||||
and
|
||||
.BR FAN_DELETE
|
||||
for example.
|
||||
Note that the use of directory modification events are not supported when
|
||||
monitoring a mount point.
|
||||
The use of
|
||||
.BR FAN_CLASS_CONTENT
|
||||
or
|
||||
.BR FAN_CLASS_PRE_CONTENT
|
||||
is not permitted with this flag and will result in the error
|
||||
.BR EINVAL .
|
||||
See
|
||||
.BR fanotify (7)
|
||||
for additional information.
|
||||
.TP
|
||||
.B FAN_CLASS_NOTIF
|
||||
This is the default value.
|
||||
It does not need to be specified.
|
||||
|
@ -184,6 +154,36 @@ supplied to
|
|||
.BR read (2)
|
||||
(see
|
||||
.BR fanotify (7)).
|
||||
.TP
|
||||
.BR FAN_REPORT_FID " (since Linux 5.1)"
|
||||
.\" commit a8b13aa20afb69161b5123b4f1acc7ea0a03d360
|
||||
This value allows the receipt of events which contain additional information
|
||||
about the underlying filesystem object correlated to an event.
|
||||
An additional structure encapsulates the information about the object and is
|
||||
included alongside the generic event metadata structure.
|
||||
The file descriptor that is used to represent the object correlated to an
|
||||
event is instead substituted with a file handle.
|
||||
It is intended for applications that may find the use of a file handle to
|
||||
identify an object more suitable than a file descriptor.
|
||||
Additionally, it may be used for applications that are interested in
|
||||
directory entry events, such as
|
||||
.BR FAN_CREATE ,
|
||||
.BR FAN_ATTRIB ,
|
||||
.BR FAN_MOVE ,
|
||||
and
|
||||
.BR FAN_DELETE
|
||||
for example.
|
||||
Note that the use of directory modification events are not supported when
|
||||
monitoring a mount point.
|
||||
The use of
|
||||
.BR FAN_CLASS_CONTENT
|
||||
or
|
||||
.BR FAN_CLASS_PRE_CONTENT
|
||||
is not permitted with this flag and will result in the error
|
||||
.BR EINVAL .
|
||||
See
|
||||
.BR fanotify (7)
|
||||
for additional information.
|
||||
.PP
|
||||
The
|
||||
.I event_f_flags
|
||||
|
|
Loading…
Reference in New Issue