From 7a8110f6af9f3f7f76b7ff6f054cbad64b5de83a Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sat, 24 May 2014 22:23:47 +0200 Subject: [PATCH] inotify.7: munmap() does not generate inotify events mmap() and msync() were already described as not leading to inotify events. This patch adds munmap(). I created and executed a test to verify this. Signed-off-by: Heinrich Schuchardt Signed-off-by: Michael Kerrisk --- man7/inotify.7 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man7/inotify.7 b/man7/inotify.7 index a3be76be8..f74766b74 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -633,9 +633,10 @@ are not monitorable with inotify. The inotify API does not report file accesses and modifications that may occur because of -.BR mmap (2) +.BR mmap (2), +.BR msync (2), and -.BR msync (2). +.BR munmap (2). The inotify API identifies affected files by filename. However, by the time an application processes an inotify event,