linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] inotify.7: munmap does not lead to inotify events
@ 2014-05-24 20:23 Heinrich Schuchardt
       [not found] ` <1400963027-17857-1-git-send-email-xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2014-05-24 20:23 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Heinrich Schuchardt

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 <xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
---
 man7/inotify.7 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man7/inotify.7 b/man7/inotify.7
index 55e5cab..f719614 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,
-- 
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] inotify.7: munmap does not lead to inotify events
       [not found] ` <1400963027-17857-1-git-send-email-xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
@ 2014-05-25 17:51   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-25 17:51 UTC (permalink / raw)
  To: Heinrich Schuchardt
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks, Heinrich. Patch applied.

Cheers,

Michael

On 05/24/2014 10:23 PM, Heinrich Schuchardt wrote:
> 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 <xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
> ---
>  man7/inotify.7 | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/man7/inotify.7 b/man7/inotify.7
> index 55e5cab..f719614 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,
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-25 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24 20:23 [PATCH 1/1] inotify.7: munmap does not lead to inotify events Heinrich Schuchardt
     [not found] ` <1400963027-17857-1-git-send-email-xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
2014-05-25 17:51   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).