]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
prctl.2: Fix alphabetical misplacements in ERRORS
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 4 Dec 2015 08:15:25 +0000 (09:15 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 4 Dec 2015 09:25:28 +0000 (10:25 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/prctl.2

index 4be4f10e182350d5e835452845a6f01f1e11d118..cebb83bbc0ab635a76aa5646a97356d1b56698ce 100644 (file)
@@ -1012,6 +1012,38 @@ On error, \-1 is returned, and
 is set appropriately.
 .SH ERRORS
 .TP
+.B EACCES
+.I option
+is
+.BR PR_SET_MM ,
+and
+.I arg3
+is
+.BR PR_SET_MM_EXE_FILE ,
+the file is not executable.
+.TP
+.B EBADF
+.I option
+is
+.BR PR_SET_MM ,
+.I arg3
+is
+.BR PR_SET_MM_EXE_FILE ,
+and the file descriptor passed in
+.I arg4
+is not valid.
+.TP
+.B EBUSY
+.I option
+is
+.BR PR_SET_MM ,
+.I arg3
+is
+.BR PR_SET_MM_EXE_FILE ,
+and this the second attempt to change the
+.I /proc/pid/exe
+symbolic link, which is prohibited.
+.TP
 .B EFAULT
 .I arg2
 is an invalid address.
@@ -1197,6 +1229,15 @@ or
 .IR arg5
 is nonzero.
 .TP
+.B ENXIO
+.I option
+was
+.BR PR_MPX_ENABLE_MANAGEMENT
+or
+.BR PR_MPX_DISABLE_MANAGEMENT
+and the kernel or the CPU does not support MPX management.
+Check that the kernel and processor have MPX support.
+.TP
 .B EPERM
 .I option
 is
@@ -1234,47 +1275,6 @@ is
 and the caller does not have the
 .B CAP_SYS_RESOURCE
 capability.
-.TP
-.B EACCES
-.I option
-is
-.BR PR_SET_MM ,
-and
-.I arg3
-is
-.BR PR_SET_MM_EXE_FILE ,
-the file is not executable.
-.TP
-.B EBUSY
-.I option
-is
-.BR PR_SET_MM ,
-.I arg3
-is
-.BR PR_SET_MM_EXE_FILE ,
-and this the second attempt to change the
-.I /proc/pid/exe
-symbolic link, which is prohibited.
-.TP
-.B EBADF
-.I option
-is
-.BR PR_SET_MM ,
-.I arg3
-is
-.BR PR_SET_MM_EXE_FILE ,
-and the file descriptor passed in
-.I arg4
-is not valid.
-.TP
-.B ENXIO
-.I option
-was
-.BR PR_MPX_ENABLE_MANAGEMENT
-or
-.BR PR_MPX_DISABLE_MANAGEMENT
-and the kernel or the CPU does not support MPX management.
-Check that the kernel and processor have MPX support.
 .SH VERSIONS
 The
 .BR prctl ()