HomeFreeBSD

sysctl kern.supported_archs: return correct value

Description

sysctl kern.supported_archs: return correct value

in case COMPAT_FREEBSD32 was enabled in config but hardware does not
support executing 32bit binaries.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D42641

Details

Provenance
kibAuthored on Nov 16 2023, 9:58 PM
Reviewer
markj
Differential Revision
D42641: Correct reporting of compat32 support to userspace
Parents
rG5a2bbacea56f: FEATURE compat_freebsd_32bit: only report on arm64 when support is present
Branches
Unknown
Tags
Unknown