summaryrefslogtreecommitdiff
path: root/usr.sbin/kvm_mkdb/testdb.c
AgeCommit message (Collapse)Author
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-05-02Remove some unneccessary kmem open/close code.ragge
2001-03-19Fix a long standing bug.msaitoh
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!
1997-10-18deprecate register, use memset/memmove instead of bzero/bcopylukem
1997-10-17WARNSify, getopt returns -1 not EOFlukem
1997-01-11make testdb() fail if database version string has length zero.mikel
1996-10-12Create only /var/db/kvm.db, and only create it if it doesn'tcgd
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-09-30RCS id police.thorpej
1994-06-11Fix up RCS ids.mycroft
1994-06-10Update to 4.4-lite, local changes to man page.pk