]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
prctl.2: Some additional details regarding PR_GET_UNALIGNED operation
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 12 Dec 2016 03:54:18 +0000 (06:54 +0300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 12 Dec 2016 06:18:46 +0000 (07:18 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/prctl.2

index 11e51d209e08d3bd6938084242c4a18da9350738..a87eed49cf5d87d5fd42bec3803477827a607a3a 100644 (file)
@@ -1109,20 +1109,27 @@ in the location pointed to by
 .TP
 .B PR_SET_UNALIGN
 (Only on: ia64, since Linux 2.3.48; parisc, since Linux 2.6.15;
-PowerPC, since Linux 2.6.18; Alpha, since Linux 2.6.22)
+PowerPC, since Linux 2.6.18; Alpha, since Linux 2.6.22;
+.\" sh: 94ea5e449ae834af058ef005d16a8ad44fcf13d6
+.\" tile: 2f9ac29eec71a696cb0dcc5fb82c0f8d4dac28c9
+sh, since Linux 2.6.34; tile, since Linux 3.12)
 Set unaligned access control bits to \fIarg2\fP.
 Pass
 \fBPR_UNALIGN_NOPRINT\fP to silently fix up unaligned user accesses,
 or \fBPR_UNALIGN_SIGBUS\fP to generate
 .B SIGBUS
-on unaligned user access.
+on unaligned user access. Alpha also supports an additional flag with the value
+of 4 and no corresponding named constant, which instructs kernel to not fix up
+unaligned accesses (it is analogous to providing the
+.BR UAC_NOFIX " flag in " SSI_NVPAIRS " operation of " setsysinfo
+syscall on Tru64).
 .TP
 .B PR_GET_UNALIGN
 (see
 .B PR_SET_UNALIGN
 for information on versions and architectures)
 Return unaligned access control bits, in the location pointed to by
-.IR "(int\ *) arg2" .
+.IR "(unsigned int\ *) arg2" .
 .SH RETURN VALUE
 On success,
 .BR PR_GET_DUMPABLE ,