diff options
-rw-r--r-- | sys/kern/kern_mib.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index 73a1eac4050c..74f05f9534a7 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -38,6 +38,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_compat.h" #include "opt_posix.h" #include "opt_config.h" @@ -335,6 +336,22 @@ SYSCTL_STRING(_kern, KERN_HOSTUUID, hostuuid, CTLFLAG_RW, hostuuid, SYSCTL_NODE(_kern, OID_AUTO, features, CTLFLAG_RD, 0, "Kernel Features"); +#ifdef COMPAT_FREEBSD4 +FEATURE(compat_freebsd4, "Compatible with FreeBSD 4"); +#endif + +#ifdef COMPAT_FREEBSD5 +FEATURE(compat_freebsd5, "Compatible with FreeBSD 5"); +#endif + +#ifdef COMPAT_FREEBSD6 +FEATURE(compat_freebsd6, "Compatible with FreeBSD 6"); +#endif + +#ifdef COMPAT_FREEBSD7 +FEATURE(compat_freebsd7, "Compatible with FreeBSD 7"); +#endif + /* * This is really cheating. These actually live in the libc, something * which I'm not quite sure is a good idea anyway, but in order for |