public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Yuri Kozlov <yuray-YPGtXv8QU+00kPtPmH8OGQ@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: small improvement for mbind.2 (more)
Date: Tue, 19 Oct 2010 10:40:22 +0400	[thread overview]
Message-ID: <20101019104022.062a4205@keeper.home.local> (raw)

[-- 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

             reply	other threads:[~2010-10-19  6:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19  6:40 Yuri Kozlov [this message]
     [not found] ` <20101019104022.062a4205-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
2010-10-19 10:38   ` small improvement for mbind.2 (more) Michael Kerrisk
     [not found]     ` <AANLkTi=dJ6qH126JC0Sz6S2vRbc0KdvEuP2xJdQZ0Qdv-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-19 12:33       ` Yuri Kozlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101019104022.062a4205@keeper.home.local \
    --to=yuray-ypgtxv8qu+00kptpmh8ogq@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox