nwhitehorn 06dcbdd38d Add new sysctl, kern.supported_abis, containing the list of FreeBSD
MACHINE_ARCH values whose binaries this kernel can run. This patch provides
a feature requested for implementing pkgng ABI identifiers in a robust
way.

The list is designed to indicate whether, say, an i386 package can be run on
the current system. If kern.supported_abis contains "i386", then the answer
is yes. Otherwise, the answer is no.

At the moment, this only supports MACHINE_ARCH and MACHINE_ARCH32. As we
gain support for more interesting combinations, this needs to become more
flexible, possibily through the sysent framework, along with the
hw.machine_arch emulation immediately preceding this code in kern_mib.c.

Reviewed by:	imp
MFC after:	3 days
2013-12-02 00:44:36 +00:00
..
2013-09-19 18:56:00 +00:00
2013-11-28 18:56:34 +00:00
2013-09-19 18:56:00 +00:00
2013-11-14 09:45:33 +00:00
2013-11-08 20:11:15 +00:00
2013-12-01 20:03:00 +00:00
2013-06-29 05:05:57 +00:00
2013-10-04 07:00:59 +00:00