OpenGrok
Cross Reference: testdb.c
xref
: /
src
/
usr.sbin
/
kvm_mkdb
/
testdb.c
Home
|
History
|
Annotate
|
Download
|
only in
kvm_mkdb
History log of
/src/usr.sbin/kvm_mkdb/testdb.c
Revision
Date
Author
Comments
1.10
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
1.9
02-May-2003
ragge
Remove some unneccessary kmem open/close code.
1.8
19-Mar-2001
msaitoh
Fix a long standing bug.
Old kvm_mkdb had a possibility to check old kernel's version
string retained at a hole between text segment and data segment.
It might happen a misunderstanding that the running kernel's version
matches kvm.db's version.
This had been caused by checking current kernel's version string
via /dev/kmem. The version string can get via sysctl, so use it!
1.7
18-Oct-1997
lukem
branches: 1.7.12;
deprecate register, use memset/memmove instead of bzero/bcopy
1.6
17-Oct-1997
lukem
WARNSify, getopt returns -1 not EOF
1.5
11-Jan-1997
mikel
make testdb() fail if database version string has length zero.
1.4
12-Oct-1996
cgd
Create only /var/db/kvm.db, and only create it if it doesn't
already match the running kernel. Fixes an inconsistency
where /var/db/kvm_filename.db would be created, but only
if /var/db/kvm_netbsd.db didn't match the running kernel.
1.3
30-Sep-1996
thorpej
RCS id police.
1.2
11-Jun-1994
mycroft
Fix up RCS ids.
1.1
10-Jun-1994
pk
branches: 1.1.1;
Update to 4.4-lite, local changes to man page.
1.1.1.1
29-Aug-1994
mycroft
Import original 4.4-Lite version.
1.7.12.1
30-Mar-2001
he
Pull up revision 1.8 (requested by msaitoh):
Use sysctl instead of kmem groveling to fetch version string of
running kernel.
Indexes created Thu Oct 16 14:10:15 GMT 2025