summaryrefslogtreecommitdiff
path: root/usr.sbin/kvm_mkdb/testdb.c
AgeCommit message (Collapse)Author
1998-08-19Make kvm_mkdb work againTodd C. Miller
o testdb() needs to take as an arg the name of the kernel so it can do the version test correctly. o add undocumented verbose flag to tell when we are rebuilding the .db file o DO_* -> _NLIST_DO_*, this prevented kvm_mkdb from doing anything at all. o preserve a few error messages so you get error output when none of the exec types match the target. o check malloc return values o get_kerntext should not subtract the sizeof(struct exec) from kernel_text
1997-01-15From NetBSD: make testdb() fail if database version string has length zero.Todd C. Miller
Also, KNF, b* -> mem*, getopt tests against -1, not EOF, and index -> strchr. Added OpenBSD tags.
1995-10-18initial import of NetBSD treeTheo de Raadt