prctl.2: Minor tweaks to Eugene Syromyatnikov's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-12 07:17:48 +01:00
parent c49be32cd9
commit c7f2f9ed16
1 changed files with 7 additions and 4 deletions

View File

@ -988,10 +988,13 @@ flag, in the location pointed to by
.IR "(int\ **)\ arg2" . .IR "(int\ **)\ arg2" .
This feature is available only if the kernel is built with the This feature is available only if the kernel is built with the
.BR CONFIG_CHECKPOINT_RESTORE .BR CONFIG_CHECKPOINT_RESTORE
option enabled. Note that since the prctl() syscall does not have compat option enabled.
implementation for AMD64 x32 and MIPS n32 ABIs, and the kernel writes out Note that since the
pointer of kernel's pointer size, this operation expects a user space buffer .BR prctl ()
of 8 (not 4) bytes on these ABIs. 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 .TP
.BR PR_SET_TIMERSLACK " (since Linux 2.6.28)" .BR PR_SET_TIMERSLACK " (since Linux 2.6.28)"
.\" See https://lwn.net/Articles/369549/ .\" See https://lwn.net/Articles/369549/