summaryrefslogtreecommitdiff
path: root/usr.sbin/kvm_mkdb
AgeCommit message (Collapse)Author
1998-10-06crank RLIMIT_DATA, seems to be necessary for some peopleTodd C. Miller
1998-09-26if malloc fails, say how much we tried to allocTodd C. Miller
1998-08-23o If the user doesn't specify a file, use /dev/ksyms in preference toTodd C. Miller
/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.
1998-08-21oops, remove debugging infoTodd C. Miller
1998-08-21Changes to work with /dev/ksyms:Todd C. Miller
o If we are have no data segment and text seg is __LDPGSZ, we must be /dev/ksyms or an equivalent so use sysctl to get version string. o fix an int vs. long issue and prepend '_' to symbols that lack one (alpha for instance).
1998-08-20ecoff support, based on libc/gen/nlist.cTodd C. Miller
1998-08-19clean up our temp files on failureTodd C. Miller
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
1998-06-15use Bx macro for BSD versionsMichael Shalayeff
1997-12-15use MAP_PRIVATE|MAP_FILE; mrgTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
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.
1996-07-31comment an #endifTheo de Raadt
1996-07-31zmagic/qmagic has kernel offset problem; netbsd pr#2665, leo@marco.de.Theo de Raadt
also rely on machine/exec.h DO_{AOUT,ELF,...} symbols, and declare a stub ecoff handler for niklas to finish writing (stealable from libc)
1996-07-08kernel is /bsd, os is OpenBSDccappuc
1996-05-24get_kerntextTheo de Raadt
1996-05-17Addition of elf support.Per Fogelstrom
1995-10-18initial import of NetBSD treeTheo de Raadt