fanotify_mark.2: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-07 09:14:06 +02:00
parent 8d605e5515
commit d4a12c12eb
1 changed files with 9 additions and 10 deletions

View File

@ -70,7 +70,7 @@ must be nonempty or the error
will occur. will occur.
.TP .TP
.B FAN_MARK_FLUSH .B FAN_MARK_FLUSH
Remove either all mount or non-mount marks from the fanotify group. Remove either all mount or all non-mount marks from the fanotify group.
If If
.I flag .I flag
contains contains
@ -89,8 +89,8 @@ the call fails with the error
.BR EINVAL . .BR EINVAL .
.PP .PP
In addition, In addition,
.I flags zero or more of the following values may be ORed into
may contain zero or more of the following: .IR flags :
.TP .TP
.B FAN_MARK_DONT_FOLLOW .B FAN_MARK_DONT_FOLLOW
If If
@ -131,7 +131,7 @@ the ignore mask is cleared when a modify event occurs
for the ignored file or directory. for the ignored file or directory.
.PP .PP
.I mask .I mask
defines which events shall be listened to (or which shall be ignored). defines which events shall be listened for (or which shall be ignored).
It is a bit mask composed of the following values: It is a bit mask composed of the following values:
.TP .TP
.B FAN_ACCESS .B FAN_ACCESS
@ -166,7 +166,7 @@ or
is required. is required.
.TP .TP
.B FAN_ONDIR .B FAN_ONDIR
Events for directories shall be created, for example when Create events for directories\(emfor example, when
.BR opendir (2), .BR opendir (2),
.BR readdir (2) .BR readdir (2)
(but see BUGS), and (but see BUGS), and
@ -276,17 +276,16 @@ which is not marked.
The necessary memory could not be allocated. The necessary memory could not be allocated.
.TP .TP
.B ENOSPC .B ENOSPC
The number of marks exceeds the limit of 8192 and The number of marks exceeds the limit of 8192 and the
.B FAN_UNLIMITED_MARKS .B FAN_UNLIMITED_MARKS
was not specified in the call to flag was not specified when the fanotify file descriptor was created with
.BR fanotify_init (2). .BR fanotify_init (2).
.TP .TP
.B ENOSYS .B ENOSYS
This kernel does not implement This kernel does not implement
.BR fanotify_mark (). .BR fanotify_mark ().
To make the fanotify API available, The fanotify API is available only if the kernel was configured with
.B CONFIG_FANOTIFY .BR CONFIG_FANOTIFY .
has to be enabled in the Linux configuration.
.TP .TP
.B ENOTDIR .B ENOTDIR
.I flags .I flags