Age | Commit message (Collapse) | Author |
|
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
|
Give more precise error messages in case of failure
|
|
|
|
value of 1 indicates an incorrect executable type, a return value of -1 indicates some other problem. This gives us better fallback from /dev/ksyms to /bsd.
|
|
of /dev/ksyms
|
|
|
|
/bsd if it exists and we can open it.
o Fix a bug where kvm_mkdb would leave a temp file in /var/db if the
file argument didn't exit.
|
|
|
|
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
|
|
Also, KNF, b* -> mem*, getopt tests against -1, not EOF, and index -> strchr.
Added OpenBSD tags.
|
|
|