diff options
author | Zhenlei Huang <zlei@FreeBSD.org> | 2023-10-20 07:31:44 +0000 |
---|---|---|
committer | Zhenlei Huang <zlei@FreeBSD.org> | 2023-10-24 04:43:56 +0000 |
commit | 350e79edf9a8f65c9a9d17aa86ec90b436d638f8 (patch) | |
tree | e7a6670e894e4de466b0133a1a84f8cf19a7e8d0 /usr.bin | |
parent | ba924ff8c46ce44fc9b877cc48bdae3bc966c13a (diff) |
amd64 pmap: Prefer consistent naming for loader tunable
The sysctl knob 'vm.pmap.allow_2m_x_ept' is loader tunable and have
public document entry in security(7) but is fetched from kernel
environment 'hw.allow_2m_x_ept'. That is inconsistent and obscure.
As there is public security advisory FreeBSD-SA-19:25.mcepsc [1],
people may refer to it and use 'hw.allow_2m_x_ept', let's keep old
name for compatibility.
[1] https://www.freebsd.org/security/advisories/FreeBSD-SA-19:25.mcepsc.asc
Reviewed by: kib
Fixes: c08973d09c95 Workaround for Intel SKL002/SKL012S errata
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42311
(cherry picked from commit 9e7f349ff10691c2e3fb03898dbc942794a47566)
(cherry picked from commit 8784b153a31fc0b3a12449a2f0377eb038e6fb7b)
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions