mirror of https://github.com/mkerrisk/man-pages
fanotify.7: Add a subheading for reading events
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
75c3e3bd6b
commit
ad02dd1f87
|
@ -92,7 +92,7 @@ via their inode number and to mounts via their mount ID.
|
|||
If files or directories are renamed or moved, the respective entries survive.
|
||||
If files or directories are deleted or mounts are unmounted, the corresponding
|
||||
entries are deleted.
|
||||
.SS Events, the event queue, and reading events
|
||||
.SS The event queue
|
||||
As events occur on the filesystem objects monitired by a notification group,
|
||||
the fanotify system generates events that are collected in a queue.
|
||||
These events can then be read (using
|
||||
|
@ -117,7 +117,7 @@ Queue entries for notification events are removed when the event has been
|
|||
read.
|
||||
Queue entries for permission events are removed when the permission
|
||||
decision has been taken by writing to the fanotify file descriptor.
|
||||
.PP
|
||||
.SS Reading fanotify events
|
||||
Calling
|
||||
.BR read (2)
|
||||
for the file descriptor returned by
|
||||
|
|
Loading…
Reference in New Issue