mirror of https://github.com/mkerrisk/man-pages
prctl.2: Fix alphabetical misplacements in ERRORS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
12b75ea808
commit
0478944d12
82
man2/prctl.2
82
man2/prctl.2
|
@ -1012,6 +1012,38 @@ On error, \-1 is returned, and
|
||||||
is set appropriately.
|
is set appropriately.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.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
|
.B EFAULT
|
||||||
.I arg2
|
.I arg2
|
||||||
is an invalid address.
|
is an invalid address.
|
||||||
|
@ -1197,6 +1229,15 @@ or
|
||||||
.IR arg5
|
.IR arg5
|
||||||
is nonzero.
|
is nonzero.
|
||||||
.TP
|
.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
|
.B EPERM
|
||||||
.I option
|
.I option
|
||||||
is
|
is
|
||||||
|
@ -1234,47 +1275,6 @@ is
|
||||||
and the caller does not have the
|
and the caller does not have the
|
||||||
.B CAP_SYS_RESOURCE
|
.B CAP_SYS_RESOURCE
|
||||||
capability.
|
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
|
.SH VERSIONS
|
||||||
The
|
The
|
||||||
.BR prctl ()
|
.BR prctl ()
|
||||||
|
|
Loading…
Reference in New Issue