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