From c7f2f9ed165ee4382dd4ba37de3190c8fa8a6c04 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 12 Dec 2016 07:17:48 +0100 Subject: [PATCH] prctl.2: Minor tweaks to Eugene Syromyatnikov's patch Signed-off-by: Michael Kerrisk --- man2/prctl.2 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/man2/prctl.2 b/man2/prctl.2 index 19b9789f8..11e51d209 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -988,10 +988,13 @@ flag, in the location pointed to by .IR "(int\ **)\ arg2" . This feature is available only if the kernel is built with the .BR CONFIG_CHECKPOINT_RESTORE -option enabled. Note that since the prctl() syscall does not have compat -implementation for AMD64 x32 and MIPS n32 ABIs, and the kernel writes out -pointer of kernel's pointer size, this operation expects a user space buffer -of 8 (not 4) bytes on these ABIs. +option enabled. +Note that since the +.BR prctl () +system call does not have a compat implementation for +the AMD64 x32 and MIPS n32 ABIs, +and the kernel writes out a pointer using the kernel's pointer size, +this operation expects a user-space buffer of 8 (not 4) bytes on these ABIs. .TP .BR PR_SET_TIMERSLACK " (since Linux 2.6.28)" .\" See https://lwn.net/Articles/369549/