Commit Graph

8 Commits

Author SHA1 Message Date
msaitoh
1af40d9ce4 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!
2001-03-19 15:18:59 +00:00
lukem
c9fcc32882 deprecate register, use memset/memmove instead of bzero/bcopy 1997-10-18 08:40:40 +00:00
lukem
e5436d326b WARNSify, getopt returns -1 not EOF 1997-10-17 10:14:59 +00:00
mikel
35b9d06596 make testdb() fail if database version string has length zero. 1997-01-11 06:18:11 +00:00
cgd
3b6f768ed2 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.
1996-10-12 00:51:44 +00:00
thorpej
63488d7365 RCS id police. 1996-09-30 18:26:58 +00:00
mycroft
c250a07889 Fix up RCS ids. 1994-06-11 07:50:42 +00:00
pk
ec1b77781f Update to 4.4-lite, local changes to man page. 1994-06-10 14:12:08 +00:00