Rename sysctl kern.supported_abis to kern.supported_archs, since it gives

the set of MACHINE_ARCH values that can be run.
This commit is contained in:
Nathan Whitehorn 2013-12-04 16:38:40 +00:00
parent 45df402e9a
commit fec27435ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258928

View File

@ -261,11 +261,11 @@ sysctl_hw_machine_arch(SYSCTL_HANDLER_ARGS)
SYSCTL_PROC(_hw, HW_MACHINE_ARCH, machine_arch, CTLTYPE_STRING | CTLFLAG_RD,
NULL, 0, sysctl_hw_machine_arch, "A", "System architecture");
SYSCTL_STRING(_kern, OID_AUTO, supported_abis, CTLFLAG_RD | CTLFLAG_MPSAFE,
SYSCTL_STRING(_kern, OID_AUTO, supported_archs, CTLFLAG_RD | CTLFLAG_MPSAFE,
#ifdef COMPAT_FREEBSD32
MACHINE_ARCH " " MACHINE_ARCH32, 0, "List of supported ABIs");
MACHINE_ARCH " " MACHINE_ARCH32, 0, "Supported architectures for binaries");
#else
MACHINE_ARCH, 0, "List of supported ABIs");
MACHINE_ARCH, 0, "Supported architectures for binaries");
#endif
static int