mirror of https://github.com/mkerrisk/man-pages
fanotify.7: Minor tweaks to Heinrich's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a662500625
commit
3302241970
|
@ -113,11 +113,12 @@ whether permission for a file access shall be granted.
|
|||
For these events, the recipient must write a response which decides whether
|
||||
access is granted or not.
|
||||
|
||||
An event is removed from the event queue of the fanotify group when it has been
|
||||
read.
|
||||
An event is removed from the event queue of the fanotify group
|
||||
when it has been read.
|
||||
Permission events that have been read are kept in an internal list of the
|
||||
fanotify group until either a permission decision has been taken by writing to
|
||||
the fanotify file descriptor or the fanotify file descriptor is closed.
|
||||
fanotify group until either a permission decision has been taken by
|
||||
writing to the fanotify file descriptor or the fanotify file descriptor
|
||||
is closed.
|
||||
.SS Reading fanotify events
|
||||
Calling
|
||||
.BR read (2)
|
||||
|
@ -401,8 +402,8 @@ in the response structure is not valid.
|
|||
The file descriptor
|
||||
.I fd
|
||||
in the response structure is not valid.
|
||||
This may occur when a response for the permission event already has been
|
||||
written before.
|
||||
This may occur when a response for the permission event has already been
|
||||
written.
|
||||
.SH VERSIONS
|
||||
The fanotify API was introduced in version 2.6.36 of the Linux kernel and
|
||||
enabled in version 2.6.37.
|
||||
|
|
Loading…
Reference in New Issue