Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-11-24 | Use sysctl to get the running kernel version instead of grotting | Todd C. Miller | |
through kmem. Fixes false positives on machines where the memory is not cleared between boots. OK deraadt@, tedu@, jaredy@ | |||
2003-11-21 | add -o option to generate kvm database in alternate directory; | Damien Miller | |
manpage nits jmc@ ok tedu@ | |||
2003-09-25 | realloc fixes; markus ok | Theo de Raadt | |
2003-06-26 | ansi and protos | Theo de Raadt | |
2003-06-12 | - section reorder | Jason McIntyre | |
- macro fixes - kill whitespace at EOL - new sentence, new line | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-06 | use snamesize and realloc properly. ok tdeval@ | Ted Unangst | |
2003-04-04 | strlcpy; tedu ok | Theo de Raadt | |
2002-11-30 | be better about the STT_NOTYPE symbols, not all become N_UNDEF this way; ↵ | Michael Shalayeff | |
pefo@ ok | |||
2002-10-25 | prepend the underscore always for elf, this makes kvm_bsd.db work on elf ↵ | Michael Shalayeff | |
platforms; drahn@ millert@ ok | |||
2002-09-06 | fopen() does not return < 0 | Theo de Raadt | |
2002-05-30 | minor KNF | Theo de Raadt | |
2002-03-25 | bring in prototypes | Theo de Raadt | |
2002-03-14 | kill more registers. | Mike Pechkin | |
millert@ ok | |||
2002-02-20 | Fix ELF so it works with /dev/ksyms. Also make 'detection' of ksyms | Per Fogelstrom | |
a little more robust by looking at the actual namelist filename. | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-05-11 | MAP_COPY -> MAP_SHARED (it's ok in this case (/dev/ksyms)) | Artur Grabowski | |
2001-02-03 | ELF: fallback to malloc when mmap fails. for /dev/ksyms. | Artur Grabowski | |
2001-01-25 | Make nlist elf-size independent. | Artur Grabowski | |
2000-06-30 | warnx?/errx? paranoia (use "%s" not a bare string unless it is a | Todd C. Miller | |
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales). | |||
2000-03-19 | Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other | Aaron Campbell | |
cleanup along the way. | |||
1999-06-05 | remove trailing whitespace, some Nm cleanup | Aaron Campbell | |
1999-04-18 | Document -v | Marc Espie | |
Give more precise error messages in case of failure | |||
1999-03-29 | Only print "already up to date" if in verbose mode | Todd C. Miller | |
1999-03-24 | Only exit in nlist.c due to a memory error, otherwise just return. A return ↵ | Todd C. Miller | |
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. | |||
1999-03-24 | Better fallback from /dev/ksyms to /bsd if there are problems with an nlist ↵ | Todd C. Miller | |
of /dev/ksyms | |||
1999-03-10 | fix comma splices involving 'however' | Paul Janzen | |
1998-12-19 | back out recently added sanity check for data and bss as ksyms has neither | Todd C. Miller | |
1998-11-29 | Blow up a little more verbosely if something's feeding us garbage. | Jason Downs | |
1998-10-28 | uninitialized variable; hgweigand@wiesbaden.netsurf.de | Todd C. Miller | |
1998-10-06 | crank RLIMIT_DATA, seems to be necessary for some people | Todd C. Miller | |
1998-09-26 | if malloc fails, say how much we tried to alloc | Todd C. Miller | |
1998-08-23 | o If the user doesn't specify a file, use /dev/ksyms in preference to | Todd 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-21 | oops, remove debugging info | Todd C. Miller | |
1998-08-21 | Changes 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-20 | ecoff support, based on libc/gen/nlist.c | Todd C. Miller | |
1998-08-19 | clean up our temp files on failure | Todd C. Miller | |
1998-08-19 | Make kvm_mkdb work again | Todd 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-15 | use Bx macro for BSD versions | Michael Shalayeff | |
1997-12-15 | use MAP_PRIVATE|MAP_FILE; mrg | Theo de Raadt | |
1997-09-21 | $OpenBSD$ | Theo de Raadt | |
1997-01-15 | From 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-31 | comment an #endif | Theo de Raadt | |
1996-07-31 | zmagic/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-08 | kernel is /bsd, os is OpenBSD | ccappuc | |
1996-05-24 | get_kerntext | Theo de Raadt | |
1996-05-17 | Addition of elf support. | Per Fogelstrom | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |