cvs commit: src/sys/sys sysctl.h
jhb at FreeBSD.org
Mon Dec 31 21:12:05 UTC 2007
jhb 2007-12-31 21:12:05 UTC
FreeBSD src repository
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
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
Revision Changes Path
1.155 +8 -0 src/sys/sys/sysctl.h
More information about the cvs-all