summaryrefslogtreecommitdiff
path: root/sbin/savecore
AgeCommit message (Expand)Author
2019-02-05dev_t is signed to permit passing -1 as an invalid condition, but theTheo de Raadt
2018-12-05Unbreak "savecore -c". Also add missing unveil(2) for the raw device.YASUOKA Masahiko
2018-09-28add missing unveil(2) of an arbitrary kernel (when -N is used), or _PATH_UNIX byRicardo Mestre
2018-09-24After opening required descriptors, savecore only plays in one directoryTheo de Raadt
2017-01-22tedu@ didn't take the getcode() prototype with the getcode() implementation.Kenneth R Westerback
2016-09-04chop out the zread code since we only write filesTed Unangst
2016-09-04unifdef SAVECORE now that we're done sharingTed Unangst
2016-09-03proving once again my commit and somebody will test strategy works,Ted Unangst
2016-09-01make the version symbol a fixed size (512) to reduce the potential forTed Unangst
2016-07-04Drop support for the undocumented second argument (same as -N option)Philip Guenther
2015-10-18after kmem is open and setup, pledge "stdio rpath wpath cpath"Theo de Raadt
2015-10-18Collapse some strange programmer style with too much abstraction.Theo de Raadt
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-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
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
2008-09-10sync synopsis and usage; documentation tweaks.Igor Sobrado
2008-07-18+.Xr crash 8 ,Jason McIntyre
2007-09-14remove some warnings:Charles Longeau
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-05-31convert to new .Dd format;Jason McIntyre
2006-06-16Add -DSAVECORE to CFLAGS instead of overriding it.Mark Kettenis
2005-06-26There's a dependency on the compress API that changedOtto Moerbeek
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-03- section reorderJason McIntyre
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-29More libkvm.old relicsMiod Vallat
2001-06-20circumvent a 32-bit integer arithmetic overflowNiklas Hallqvist
2001-06-04return from main() don't exitMichael Shalayeff