From 330224197037b4d7e0dbe4269572d4775440f365 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 7 May 2014 05:49:39 +0200 Subject: [PATCH] fanotify.7: Minor tweaks to Heinrich's patch Signed-off-by: Michael Kerrisk --- man7/fanotify.7 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/man7/fanotify.7 b/man7/fanotify.7 index bce70ac36..1736bce79 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -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.