Home
last modified time | relevance | path

Searched hist:"3 cb6654d23c073c320b1f2c288a7a624a394b955" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/kern/
H A Dkern_mib.cdiff 3cb6654d23c073c320b1f2c288a7a624a394b955 Mon Dec 02 01:44:36 CET 2013 Nathan Whitehorn <nwhitehorn@FreeBSD.org> 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