aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/prctl.25
1 files changed, 4 insertions, 1 deletions
diff --git a/man2/prctl.2 b/man2/prctl.2
index 44ec6573c5..19b9789f84 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -988,7 +988,10 @@ 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.
+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.
.TP
.BR PR_SET_TIMERSLACK " (since Linux 2.6.28)"
.\" See https://lwn.net/Articles/369549/