mirror of https://github.com/mkerrisk/man-pages
fanotify.7: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6d8c5d015d
commit
ddb112c281
|
@ -424,7 +424,7 @@ The event queue can overflow.
|
|||
In this case, events are lost.
|
||||
.SH BUGS
|
||||
As of Linux 3.15,
|
||||
the following bugs existed:
|
||||
the following bugs exist:
|
||||
.IP * 3
|
||||
.\" FIXME: Patch is in linux-next-20140424.
|
||||
.BR readdir (2)
|
||||
|
@ -441,7 +441,8 @@ This poses a security risk, when the
|
|||
capability is set for programs executed by unprivileged users.
|
||||
.SH EXAMPLE
|
||||
The following program demonstrates the usage of the fanotify API.
|
||||
It marks the mount passed as argument and waits for events of type
|
||||
It marks the mount point passed as command-line argument
|
||||
and waits for events of type
|
||||
.B FAN_PERM_OPEN
|
||||
and
|
||||
.BR FAN_CLOSE_WRITE .
|
||||
|
@ -449,7 +450,7 @@ When a permission event occurs, a
|
|||
.B FAN_ALLOW
|
||||
response is given.
|
||||
.PP
|
||||
The following output was recorded while editing file
|
||||
The following output was recorded while editing the file
|
||||
.IR /home/user/temp/notes .
|
||||
Before the file was opened, a
|
||||
.B FAN_OPEN_PERM
|
||||
|
|
Loading…
Reference in New Issue