summaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
AgeCommit message (Expand)Author
2015-04-26Fix glitches in previous commit: strip the \n and only complain on failurePhilip Guenther
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-06-03dependent clause requires a subject (comment grammar)Ted Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-20If the user didn't specify a kernel, pass in NULL to kvm_openfiles()Todd C. Miller
2009-01-17Use different variables for the dump offset in blocks and the dump offsetMiod Vallat
2009-01-02Handle kernel core files larger than 2GB; ok dlg@Miod Vallat
2007-09-14remove some warnings:Charles Longeau
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2005-01-07Use fstatfs(), not statfs() to determine free space so if /var/crashTodd C. Miller
2004-09-15removed unused; avoid aliasing to libc functionsTheo de Raadt
2004-07-02Use "time_second" instead of "time" now that time handling in the kernelThorsten Lockert
2004-01-13Use correct type for magic number.Otto Moerbeek
2003-12-28zap bizarre log() prototype.Marc Espie
2003-11-15fix savecore on big endian 64 bit arches. OK millert@Marco S Hyman
2003-07-29spacesTheo de Raadt
2003-06-10boring cleanupsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-08fix null deref in error sysloggingMichael Shalayeff
2003-04-07strlcat, and it counted srclen, not dstlen; ok millertTheo de Raadt
2002-07-03ansiTheo de Raadt
2002-05-22oops, backwards length check; moritz@jodeit.orgTheo de Raadt
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-05kill more registers;Mike Pechkin
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-06-20circumvent a 32-bit integer arithmetic overflowNiklas Hallqvist
2001-06-04return from main() don't exitMichael Shalayeff
2001-01-18crank "K to go" field to 8 digits; lukem@netbsd.orgTheo de Raadt
2000-10-25various savecore/kvm fixes; gluk@ptci.ru, PR#1461Theo de Raadt
2000-09-18avoid alias against libc symbol dirname (binutils is so great)Theo de Raadt
2000-05-31Cleaner loop structure when reading panic string from the core image.Todd C. Miller
1999-08-16add a missing strerror. (there was already a %s in the format string)Artur Grabowski
1999-07-01extra fclose(); ronald@chersonese.comTheo de Raadt
1999-02-23do not print multiple \n in kernel version number printout,Theo de Raadt
1998-10-04increase data sizeTodd C. Miller
1998-09-24Back out gzip changes, they will not make 2.4Todd C. Miller
1998-09-05We can now savecore with a gzipped kernel:Todd C. Miller
1998-08-10fix usage() string; use __prognameMichael Shalayeff
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
1998-07-05fix bugs; seen by dimaTheo de Raadt
1998-06-29do not (void)kvm_read(...)Theo de Raadt
1998-03-25usage to stderr, not syslogTheo de Raadt
1996-12-29remove one / from the printf of the filenames (_PATH_UNIX begings with aThomas Graichen
1996-10-15umask for writes; from joerg@freebsd.orgTheo de Raadt
1996-08-20dump one NOT TWO headers; from osymh@gemini.oscs.montana.eduTheo de Raadt
1996-06-23use _PATH_UNIX for kernel nameTheo de Raadt
1996-04-21sync to netbsd 960418Theo de Raadt