| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | 1 | -5/+5 | ||
| value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||||
| 2019-02-05 | dev_t is signed to permit passing -1 as an invalid condition, but the | 1 | -2/+2 | ||
| decomposition into major and minor is unsigned, so we should print them with %u instead of %d. ok guenther | |||||
| 2018-12-05 | Unbreak "savecore -c". Also add missing unveil(2) for the raw device. | 1 | -15/+24 | ||
| ok mestre | |||||
| 2018-09-28 | add missing unveil(2) of an arbitrary kernel (when -N is used), or _PATH_UNIX by | 1 | -1/+5 | ||
| default, with read permissions. report and fix provided by semarie@ OK deraadt@ | |||||
| 2018-09-24 | After opening required descriptors, savecore only plays in one directory | 1 | -1/+5 | ||
| so use unveil(2). | |||||
| 2017-01-22 | tedu@ didn't take the getcode() prototype with the getcode() implementation. | 1 | -2/+1 | ||
| Restore gcc's equanimity by tedu@'ing the prototype. | |||||
| 2016-09-04 | chop out the zread code since we only write files | 1 | -214/+2 | ||
| 2016-09-04 | unifdef SAVECORE now that we're done sharing | 2 | -6/+2 | ||
| 2016-09-03 | proving once again my commit and somebody will test strategy works, | 3 | -2/+882 | ||
| deraadt found that savecore also uses a source file from compress. add (6.0 versions) of the needed files to permit progress elsewhere. | |||||
| 2016-09-01 | make the version symbol a fixed size (512) to reduce the potential for | 1 | -3/+5 | ||
| bad effects when savecore reads beyond it ok deraadt (and thanks to bluhm for remembering that this happens) | |||||
| 2016-07-04 | Drop support for the undocumented second argument (same as -N option) | 1 | -4/+2 | ||
| ok deraadt@ | |||||
| 2015-10-18 | after kmem is open and setup, pledge "stdio rpath wpath cpath" | 1 | -1/+6 | ||
| seems to be working. commiting to get feedback from people who crash. | |||||
| 2015-10-18 | Collapse some strange programmer style with too much abstraction. | 1 | -47/+31 | ||
| 2015-04-26 | Fix glitches in previous commit: strip the \n and only complain on failure | 1 | -4/+11 | ||
| ok deraadt@ | |||||
| 2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | 1 | -6/+15 | ||
| handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||||
| 2015-03-15 | tzfile.h is an internal header that should never have been installed. | 1 | -3/+3 | ||
| What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ | |||||
| 2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 1 | -7/+9 | ||
| possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||||
| 2013-08-14 | no longer any need to quote macro lines with >9 args; | 1 | -3/+3 | ||
| From: Jan Stary | |||||
| 2013-06-03 | dependent clause requires a subject (comment grammar) | 1 | -8/+8 | ||
| 2009-10-27 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 1 | -15/+1 | ||
| 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-20 | If the user didn't specify a kernel, pass in NULL to kvm_openfiles() | 1 | -4/+3 | ||
| so it can try /dev/ksyms. The first call to kvm_openfiles() was already correct. | |||||
| 2009-01-17 | Use different variables for the dump offset in blocks and the dump offset | 1 | -13/+14 | ||
| 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-02 | Handle kernel core files larger than 2GB; ok dlg@ | 1 | -7/+8 | ||
| 2008-09-10 | sync synopsis and usage; documentation tweaks. | 1 | -5/+3 | ||
| ok jmc@ | |||||
| 2008-07-18 | +.Xr crash 8 , | 1 | -2/+3 | ||
| from Stephan A. Rickauer | |||||
| 2007-09-14 | remove some warnings: | 1 | -4/+2 | ||
| unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@ | |||||
| 2007-09-11 | use strcspn to properly overwrite '\n' in fgets returned buffer | 1 | -8/+5 | ||
| ok pyr@, ray@, millert@, moritz@, chl@ | |||||
| 2007-05-31 | convert to new .Dd format; | 1 | -2/+2 | ||
| 2006-06-16 | Add -DSAVECORE to CFLAGS instead of overriding it. | 1 | -2/+2 | ||
| ok miod@, deraadt@ | |||||
| 2005-06-26 | There's a dependency on the compress API that changed | 1 | -1/+2 | ||
| 2005-01-07 | Use fstatfs(), not statfs() to determine free space so if /var/crash | 1 | -3/+5 | ||
| is a link we follow it. OK deraadt@ jcs@ | |||||
| 2004-09-15 | removed unused; avoid aliasing to libc functions | 1 | -24/+13 | ||
| 2004-07-02 | Use "time_second" instead of "time" now that time handling in the kernel | 1 | -4/+4 | ||
| has changed. ok art@ millert@ marc@ | |||||
| 2004-01-13 | Use correct type for magic number. | 1 | -4/+5 | ||
| ok marc@ millert@ | |||||
| 2003-12-28 | zap bizarre log() prototype. | 1 | -3/+2 | ||
| Doesn't even change the resulting binary (thank Ian Darwin for that idea) | |||||
| 2003-11-15 | fix savecore on big endian 64 bit arches. OK millert@ | 1 | -3/+3 | ||
| 2003-07-29 | spaces | 1 | -4/+4 | ||
| 2003-06-10 | boring cleanups | 1 | -4/+4 | ||
| 2003-06-03 | - section reorder | 1 | -3/+3 | ||
| - some mdoc fixes | |||||
| 2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | 2 | -13/+5 | ||
| rescinded 22 July 1999. Proofed by myself and Theo. | |||||
| 2003-04-08 | fix null deref in error syslogging | 1 | -3/+3 | ||
| 2003-04-07 | strlcat, and it counted srclen, not dstlen; ok millert | 1 | -4/+5 | ||
| 2002-07-03 | ansi | 1 | -31/+18 | ||
| 2002-05-22 | oops, backwards length check; moritz@jodeit.org | 1 | -3/+3 | ||
| 2002-05-22 | strcpy, sprintf death; mpech ok | 1 | -5/+6 | ||
| 2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 1 | -18/+18 | ||
| 2001-11-05 | kill more registers; | 1 | -11/+11 | ||
| millert@ ok | |||||
| 2001-07-07 | major -Wall cleanup, almost complete | 1 | -12/+12 | ||
| 2001-06-29 | More libkvm.old relics | 2 | -725/+2 | ||
| 2001-06-20 | circumvent a 32-bit integer arithmetic overflow | 1 | -3/+3 | ||
