summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mib.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-12-31 21:12:05 +0000
committerjhb <jhb@FreeBSD.org>2007-12-31 21:12:05 +0000
commit2a7210a6c49146c206dc44b0c63af34cadf19cce (patch)
tree84f901f44ba4d356a8f256e4db9667b99b2122b6 /sys/kern/kern_mib.c
parent72360ebb8e6378002b99b7d37452110a63ff1d26 (diff)
downloadFreeBSD-src-2a7210a6c49146c206dc44b0c63af34cadf19cce.zip
FreeBSD-src-2a7210a6c49146c206dc44b0c63af34cadf19cce.tar.gz
Add very basic support for the kernel to export a list of features. Each
feature is represented by a node in the new 'kern.features' sysctl node. A feature is present if the corresponding node is present and evaluates to true. A FEATURE() wrapper macro is added which takes the sysctl node name and a description of the feature as the sole arguments and creates a read-only sysctl node with a value of 1. Discussed on: arch
Diffstat (limited to 'sys/kern/kern_mib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud