diff options
author | jmallett <jmallett@FreeBSD.org> | 2003-06-09 10:54:23 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2003-06-09 10:54:23 +0000 |
commit | 05e817b7af542a8270866d9a6fa39fe46588e4e4 (patch) | |
tree | acf31497b3a96a3319f9cf5b0b92e73df9ab5dc2 /sys/kern | |
parent | 7bf8495ee2bb7b569c2d00bb754fde028866a17b (diff) | |
download | FreeBSD-src-05e817b7af542a8270866d9a6fa39fe46588e4e4.zip FreeBSD-src-05e817b7af542a8270866d9a6fa39fe46588e4e4.tar.gz |
Expose kern.ident by way of OID_AUTO.
Requested by: phk
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_mib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index 4a6d38c..6e236f6 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -85,6 +85,9 @@ SYSCTL_NODE(, OID_AUTO, regression, CTLFLAG_RW, 0, "Regression test MIB"); #endif +SYSCTL_STRING(_kern, OID_AUTO, ident, CTLFLAG_RD, + ident, 0, "Kernel identifier"); + SYSCTL_STRING(_kern, KERN_OSRELEASE, osrelease, CTLFLAG_RD, osrelease, 0, "Operating system release"); |