summaryrefslogtreecommitdiff
path: root/usr.sbin/kvm_mkdb
AgeCommit message (Expand)Author
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-11-23missing pledge "getpw" for getgrnam(3)Theo de Raadt
2015-11-08Set the effective gid to kmem so the fchown of kvm_bsd.db is allowedTodd C. Miller
2015-11-05there is a retry path in here which contains rename() and fchown().Theo de Raadt
2015-10-16Implement real "flock" request and add it to userland programs thatTodd C. Miller
2015-10-13semarie points out i am already forgetting the rules are very tight aroundTheo de Raadt
2015-10-13oops, a chown appears late on the code. to satisfy this pledgeTheo de Raadt
2015-10-12kvm_mkdb & dev_mkdb are quite similar. pledge "stdio rpath wpath cpath"Theo de Raadt
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-01-18do not require <a.out.h>Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-23the kvm database only needs to be readable by kmem group. make it so.Ted Unangst
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2013-11-12remove the code that iterates over binary types, since everything is nowTheo de Raadt
2013-10-15tedu a.out supportTheo de Raadt
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-01-29Allow for a kernel linked at address zero; ok guenther@ millert@Miod Vallat
2012-04-06iterate over e_shnum using Elf32_Word instead of intTheo de Raadt
2009-11-11patch a whole bunch of memory leaks, parfait only spotted one of themTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-18do not use section names for locating a string tab; miod@ okMichael Shalayeff
2005-04-14fix off-by-ones in path truncation checks. from Han Boetes; ok deraadt@Damien Miller
2004-11-24Use sysctl to get the running kernel version instead of grottingTodd C. Miller
2003-11-21add -o option to generate kvm database in alternate directory;Damien Miller
2003-09-25realloc fixes; markus okTheo de Raadt
2003-06-26ansi and protosTheo de Raadt
2003-06-12- section reorderJason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-06use snamesize and realloc properly. ok tdeval@Ted Unangst
2003-04-04strlcpy; tedu okTheo de Raadt
2002-11-30be better about the STT_NOTYPE symbols, not all become N_UNDEF this way; pefo...Michael Shalayeff
2002-10-25prepend the underscore always for elf, this makes kvm_bsd.db work on elf plat...Michael Shalayeff
2002-09-06fopen() does not return < 0Theo de Raadt
2002-05-30minor KNFTheo de Raadt
2002-03-25bring in prototypesTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
2002-02-20Fix ELF so it works with /dev/ksyms. Also make 'detection' of ksymsPer Fogelstrom
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-05-11MAP_COPY -> MAP_SHARED (it's ok in this case (/dev/ksyms))Artur Grabowski
2001-02-03ELF: fallback to malloc when mmap fails. for /dev/ksyms.Artur Grabowski
2001-01-25Make nlist elf-size independent.Artur Grabowski
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1999-04-18Document -vMarc Espie
1999-03-29Only print "already up to date" if in verbose modeTodd C. Miller
1999-03-24Only exit in nlist.c due to a memory error, otherwise just return. A return ...Todd C. Miller