]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow sysctl hw.machine/hw.machine_arch in capability mode
authorVal Packett <val@packett.cool>
Sun, 5 Feb 2023 20:52:50 +0000 (17:52 -0300)
committerEd Maste <emaste@FreeBSD.org>
Mon, 6 Feb 2023 19:00:52 +0000 (14:00 -0500)
commit4a1c4de232af202aa5fa02c7adaa97174997ae61
tree3124066f025d5b2d87dc3c55de5532a278d532aa
parent61593cb297023ac0fb226f3deb157ed63047d6a2
Allow sysctl hw.machine/hw.machine_arch in capability mode

There's no harm in reading strings like 'amd64'.

Reviewed by: emaste, manu
Sponsored by: https://www.patreon.com/valpackett
Differential Revision: https://reviews.freebsd.org/D28703
sys/arm/arm/identcpu-v6.c
sys/arm64/arm64/identcpu.c
sys/kern/kern_mib.c
sys/powerpc/powerpc/machdep.c
sys/riscv/riscv/identcpu.c
sys/x86/x86/identcpu.c