mirror of https://github.com/mkerrisk/man-pages
prctl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e23acd79f9
commit
e36dfb8186
19
man2/prctl.2
19
man2/prctl.2
|
@ -1013,7 +1013,7 @@ Returns the state of the speculation misfeature which is selected with
|
|||
the value of
|
||||
.IR arg2 ,
|
||||
which must be
|
||||
.B PR_SPEC_STORE_BYPASS.
|
||||
.BR PR_SPEC_STORE_BYPASS .
|
||||
Otherwise the call fails with the error
|
||||
.BR ENODEV .
|
||||
The return value uses bit 0-3 with the following meaning:
|
||||
|
@ -1036,22 +1036,21 @@ but cannot be undone.
|
|||
.RE
|
||||
.IP
|
||||
If all bits are
|
||||
.B 0
|
||||
0
|
||||
then the CPU is not affected by the speculation misfeature.
|
||||
.IP
|
||||
If
|
||||
.B PR_SPEC_PRCTL
|
||||
is set, then the per task control of the mitigation is available. If not set,
|
||||
.B prctl()
|
||||
.BR prctl ()
|
||||
for the speculation misfeature will fail.
|
||||
In the above operation
|
||||
.I arg3
|
||||
,
|
||||
.I arg4,
|
||||
.IR arg3 ,
|
||||
.IR arg4 ,
|
||||
and
|
||||
.I arg5
|
||||
must be specified as 0, otherwise the call fails with the error
|
||||
.BR EINVAL.
|
||||
.BR EINVAL .
|
||||
.TP
|
||||
.BR PR_SET_SPECULATION_CTRL
|
||||
Sets the state of the speculation misfeature which is selected with
|
||||
|
@ -1079,7 +1078,7 @@ but cannot be undone. A subsequent
|
|||
.B
|
||||
prctl(..., PR_SPEC_ENABLE)
|
||||
will fail with
|
||||
.BR EPERM.
|
||||
.BR EPERM .
|
||||
.RE
|
||||
.IP
|
||||
Any other value in
|
||||
|
@ -1091,7 +1090,7 @@ Also
|
|||
and
|
||||
.I arg5
|
||||
must be specified as 0, otherwise the call fails with ethe rror
|
||||
.BR EINVAL.
|
||||
.BR EINVAL .
|
||||
.IP
|
||||
Furtheremore this speculation feature can also be controlled by the boot-time
|
||||
parameter of
|
||||
|
@ -1711,7 +1710,7 @@ was
|
|||
or
|
||||
.BR PR_SET_SPECULATION_CTRL
|
||||
and unused arguments to
|
||||
.B prctl()
|
||||
.BR prctl ()
|
||||
are not 0.
|
||||
.SH VERSIONS
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue