diff options
author | jhb <jhb@FreeBSD.org> | 2007-12-31 21:12:05 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-12-31 21:12:05 +0000 |
commit | 2a7210a6c49146c206dc44b0c63af34cadf19cce (patch) | |
tree | 84f901f44ba4d356a8f256e4db9667b99b2122b6 /sys/kern/kern_mib.c | |
parent | 72360ebb8e6378002b99b7d37452110a63ff1d26 (diff) | |
download | FreeBSD-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