* small improvement for mbind.2 (more)
@ 2010-10-19 6:40 Yuri Kozlov
[not found] ` <20101019104022.062a4205-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Yuri Kozlov @ 2010-10-19 6:40 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
Hello.
--- man-pages-git/man2/mbind.2 2010-03-26 17:46:41.000000000 +0300
+++ /tmp/mbind.2 2010-10-19 10:38:48.000000000 +0400
@@ -48,11 +48,12 @@
If the memory range specified by the
.IR addr " and " len
-arguments includes an "anonymous" region of memory\(emthat is
+arguments includes an "anonymous" region of memory \(em that is
a region of memory created using the
.BR mmap (2)
system call with the
-.BR MAP_ANONYMOUS \(emor
+.BR MAP_ANONYMOUS
+\(em or
a memory mapped file, mapped using the
.BR mmap (2)
system call with the
@@ -247,7 +248,7 @@
is passed in
.I flags
and
-.I policy
+.I mode
is not
.BR MPOL_DEFAULT ,
--
Best Regards,
Yuri Kozlov
[-- Attachment #2: mbind.2.patch --]
[-- Type: text/x-patch, Size: 672 bytes --]
--- man-pages-git/man2/mbind.2 2010-03-26 17:46:41.000000000 +0300
+++ /tmp/mbind.2 2010-10-19 10:38:48.000000000 +0400
@@ -48,11 +48,12 @@
If the memory range specified by the
.IR addr " and " len
-arguments includes an "anonymous" region of memory\(emthat is
+arguments includes an "anonymous" region of memory \(em that is
a region of memory created using the
.BR mmap (2)
system call with the
-.BR MAP_ANONYMOUS \(emor
+.BR MAP_ANONYMOUS
+\(em or
a memory mapped file, mapped using the
.BR mmap (2)
system call with the
@@ -247,7 +248,7 @@
is passed in
.I flags
and
-.I policy
+.I mode
is not
.BR MPOL_DEFAULT ,
then the call will fail with the error
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <20101019104022.062a4205-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>]
* Re: small improvement for mbind.2 (more) [not found] ` <20101019104022.062a4205-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org> @ 2010-10-19 10:38 ` Michael Kerrisk [not found] ` <AANLkTi=dJ6qH126JC0Sz6S2vRbc0KdvEuP2xJdQZ0Qdv-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Michael Kerrisk @ 2010-10-19 10:38 UTC (permalink / raw) To: Yuri Kozlov; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA Hello Yuri, On Tue, Oct 19, 2010 at 8:40 AM, Yuri Kozlov <yuray-YPGtXv8QU+00kPtPmH8OGQ@public.gmane.org> wrote: > Hello. > > --- man-pages-git/man2/mbind.2 2010-03-26 17:46:41.000000000 +0300 > +++ /tmp/mbind.2 2010-10-19 10:38:48.000000000 +0400 > @@ -48,11 +48,12 @@ > > If the memory range specified by the > .IR addr " and " len > -arguments includes an "anonymous" region of memory\(emthat is > +arguments includes an "anonymous" region of memory \(em that is > a region of memory created using the > .BR mmap (2) > system call with the > -.BR MAP_ANONYMOUS \(emor > +.BR MAP_ANONYMOUS > +\(em or Usual typesetting usage in English is not to surround em-dashes with spaces, so I didn't apply this piece. > a memory mapped file, mapped using the > .BR mmap (2) > system call with the > @@ -247,7 +248,7 @@ > is passed in > .I flags > and > -.I policy > +.I mode > is not > .BR MPOL_DEFAULT , Thanks. This piece applied for man-pages-3.29. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- 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] 3+ messages in thread
[parent not found: <AANLkTi=dJ6qH126JC0Sz6S2vRbc0KdvEuP2xJdQZ0Qdv-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: small improvement for mbind.2 (more) [not found] ` <AANLkTi=dJ6qH126JC0Sz6S2vRbc0KdvEuP2xJdQZ0Qdv-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2010-10-19 12:33 ` Yuri Kozlov 0 siblings, 0 replies; 3+ messages in thread From: Yuri Kozlov @ 2010-10-19 12:33 UTC (permalink / raw) To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA В Tue, 19 Oct 2010 12:38:39 +0200 Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> пишет: > Hello Yuri, > > On Tue, Oct 19, 2010 at 8:40 AM, Yuri Kozlov <yuray-YPGtXv8QU+00kPtPmH8OGQ@public.gmane.org> wrote: > > Hello. > > > > --- man-pages-git/man2/mbind.2 2010-03-26 17:46:41.000000000 +0300 > > +++ /tmp/mbind.2 2010-10-19 10:38:48.000000000 +0400 > > @@ -48,11 +48,12 @@ > > > > If the memory range specified by the > > .IR addr " and " len > > -arguments includes an "anonymous" region of memory\(emthat is > > +arguments includes an "anonymous" region of memory \(em that is > > a region of memory created using the > > .BR mmap (2) > > system call with the > > -.BR MAP_ANONYMOUS \(emor > > +.BR MAP_ANONYMOUS > > +\(em or > > Usual typesetting usage in English is not to surround em-dashes with > spaces, so I didn't apply this piece. Ok. I didn't know it. -- Best Regards, Yuri Kozlov -- 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] 3+ messages in thread
end of thread, other threads:[~2010-10-19 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-19 6:40 small improvement for mbind.2 (more) Yuri Kozlov
[not found] ` <20101019104022.062a4205-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
2010-10-19 10:38 ` Michael Kerrisk
[not found] ` <AANLkTi=dJ6qH126JC0Sz6S2vRbc0KdvEuP2xJdQZ0Qdv-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-19 12:33 ` Yuri Kozlov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox