summaryrefslogtreecommitdiff
path: root/sbin/savecore
AgeCommit message (Collapse)Author
2013-06-03dependent clause requires a subject (comment grammar)Ted Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-20If the user didn't specify a kernel, pass in NULL to kvm_openfiles()Todd C. Miller
so it can try /dev/ksyms. The first call to kvm_openfiles() was already correct.
2009-01-17Use different variables for the dump offset in blocks and the dump offsetMiod Vallat
in bytes; this allows us to get rid of many off_t casts, and ensures proper operation on very large swap partitions on 32 bit machines. From Pierre Riteau.
2009-01-02Handle kernel core files larger than 2GB; ok dlg@Miod Vallat
2008-09-10sync synopsis and usage; documentation tweaks.Igor Sobrado
ok jmc@
2008-07-18+.Xr crash 8 ,Jason McIntyre
from Stephan A. Rickauer
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-05-31convert to new .Dd format;Jason McIntyre
2006-06-16Add -DSAVECORE to CFLAGS instead of overriding it.Mark Kettenis
ok miod@, deraadt@
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
is a link we follow it. OK deraadt@ jcs@
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
has changed. ok art@ millert@ marc@
2004-01-13Use correct type for magic number.Otto Moerbeek
ok marc@ millert@
2003-12-28zap bizarre log() prototype.Marc Espie
Doesn't even change the resulting binary (thank Ian Darwin for that idea)
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
- some mdoc fixes
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
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
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-05kill more registers;Mike Pechkin
millert@ ok
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
2001-01-18crank "K to go" field to 8 digits; lukem@netbsd.orgTheo de Raadt
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
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
We now check the return value of KREAD() which may solve PR 1254.
2000-04-15i gust forgot about this file...; noted by gluk@ptci.ruMichael Shalayeff
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-04-01.core.Z via NetBSD pr/9684Hugh Graham
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-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-04-23mac68k uses libkvm nowJason Downs
1999-02-23do not print multiple \n in kernel version number printout,Theo de Raadt
and vis the panicstr
1998-12-30Exit if nlist fails with ENOENT. Also replace strerror(errno) in syslog with %mTodd C. Miller
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28kill redundant .Nm macro arguments; other misc fixesAaron Campbell
1998-11-11more `` '' -> .Dq sillyness; remove redundant .Pp macros; other misc fixesAaron Campbell