public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Update move_pages(2) manpage to match kernel change
@ 2017-08-21 21:05 Otto Ebeling
       [not found] ` <2646ef81-62da-13d5-2793-18149df3659b@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Otto Ebeling @ 2017-08-21 21:05 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

Hi,

I recently reported a security bug to the kernel that caused a change to 
be made to the move_pages syscall (kernel commit 
197e7e521384a23b9e585178f3f11c9fa08274b9), the attached patch updates 
the man page to match the new behavior.

Thanks,
Otto Ebeling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: man.diff --]
[-- Type: text/x-diff; name=man.diff, Size: 592 bytes --]

diff --git a/man2/move_pages.2 b/man2/move_pages.2
index dc3892a..390d23c 100644
--- a/man2/move_pages.2
+++ b/man2/move_pages.2
@@ -47,9 +47,10 @@ indicate constraints on the pages to be moved.
 is the ID of the process in which pages are to be moved.
 To move pages in another process,
 the caller must be privileged
-.RB ( CAP_SYS_NICE )
-or the real or effective user ID of the calling process must match the
-real or saved-set user ID of the target process.
+.RB ( CAP_SYS_PTRACE )
+or otherwise have the permission to use
+.BR ptrace (2)
+on the target process.
 If
 .I pid
 is 0, then

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

end of thread, other threads:[~2017-08-30  9:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 21:05 [patch] Update move_pages(2) manpage to match kernel change Otto Ebeling
     [not found] ` <2646ef81-62da-13d5-2793-18149df3659b@gmail.com>
     [not found]   ` <2646ef81-62da-13d5-2793-18149df3659b-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-22  8:14     ` Otto Ebeling
     [not found]       ` <94ae97965e44ee23301c31a114577315-YEAOTlfEoH7f77WrBdCPMDwVj7d+iGoU@public.gmane.org>
2017-08-22 22:58         ` Michael Kerrisk (man-pages)
     [not found]           ` <CAKgNAkh8mcyVuvMYqitB1OO3eo3_fy3gg_fakGmQ+34sYjz1GQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-30  9:27             ` Otto Ebeling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox