diff options
author | kib <kib@FreeBSD.org> | 2007-12-04 12:28:07 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2007-12-04 12:28:07 +0000 |
commit | feb2aba5b692eb1c9cb8275d405791736ea1067e (patch) | |
tree | 4d1748985bcd82a072eb1a920c2920cda339e7cd /sys/kern/kern_mib.c | |
parent | dbef1afd93ab22bb7408d3258ee59494af7dc2ac (diff) | |
download | FreeBSD-src-feb2aba5b692eb1c9cb8275d405791736ea1067e.zip FreeBSD-src-feb2aba5b692eb1c9cb8275d405791736ea1067e.tar.gz |
Implement fetching of the __FreeBSD_version from the ELF ABI-tag note.
The value is read into the p_osrel member of the struct proc. p_osrel
is set to 0 for the binaries without the note.
MFC after: 3 days
Diffstat (limited to 'sys/kern/kern_mib.c')
-rw-r--r-- | sys/kern/kern_mib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index 52f8754..c405adf 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -104,7 +104,6 @@ SYSCTL_STRING(_kern, KERN_OSTYPE, ostype, CTLFLAG_RD, * NOTICE: The *userland* release date is available in * /usr/include/osreldate.h */ -extern int osreldate; SYSCTL_INT(_kern, KERN_OSRELDATE, osreldate, CTLFLAG_RD, &osreldate, 0, "Kernel release date"); |