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.
|
In this case, events are lost.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
As of Linux 3.15,
|
As of Linux 3.15,
|
||||||
the following bugs existed:
|
the following bugs exist:
|
||||||
.IP * 3
|
.IP * 3
|
||||||
.\" FIXME: Patch is in linux-next-20140424.
|
.\" FIXME: Patch is in linux-next-20140424.
|
||||||
.BR readdir (2)
|
.BR readdir (2)
|
||||||
|
@ -441,7 +441,8 @@ This poses a security risk, when the
|
||||||
capability is set for programs executed by unprivileged users.
|
capability is set for programs executed by unprivileged users.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
The following program demonstrates the usage of the fanotify API.
|
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
|
.B FAN_PERM_OPEN
|
||||||
and
|
and
|
||||||
.BR FAN_CLOSE_WRITE .
|
.BR FAN_CLOSE_WRITE .
|
||||||
|
@ -449,7 +450,7 @@ When a permission event occurs, a
|
||||||
.B FAN_ALLOW
|
.B FAN_ALLOW
|
||||||
response is given.
|
response is given.
|
||||||
.PP
|
.PP
|
||||||
The following output was recorded while editing file
|
The following output was recorded while editing the file
|
||||||
.IR /home/user/temp/notes .
|
.IR /home/user/temp/notes .
|
||||||
Before the file was opened, a
|
Before the file was opened, a
|
||||||
.B FAN_OPEN_PERM
|
.B FAN_OPEN_PERM
|
||||||
|
|
Loading…
Reference in New Issue