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