aboutsummaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
Commit message (Expand)AuthorAgeFilesLines
* savecore: emit information about saved cores under verboseKyle Evans2021-12-081-1/+2
* savecore: bail on write error even when decompressingRyan Libby2020-12-111-9/+16
* Add '-u' switch that would uncompress cores that were compressed byGleb Smirnoff2020-11-191-53/+166
* Style, not functional changes:Gleb Smirnoff2020-11-031-7/+7
* Convert flags from int to bool. Some (compress) were already used inGleb Smirnoff2020-10-291-12/+14
* savecore: accept device names without the /dev/ prefixAlan Somers2020-06-291-3/+44
* savecore: include time zone in info.N fileEric van Gyzen2020-01-131-1/+6
* cap_fileargs: chase r346315, update fileargs_init in consumersEd Maste2019-04-171-1/+1
* Fix an error check after r342699.Mark Johnston2019-01-021-1/+1
* Capsicumize savecore(8).Mark Johnston2019-01-021-162/+301
* The extension for zstd-compressed files is ".zst".Mark Johnston2018-05-291-1/+1
* Prevent savecore from reading bounds from the current directory.Mike Silbersack2018-02-161-0/+7
* Add support for zstd-compressed user and kernel core dumps.Mark Johnston2018-02-131-7/+27
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Add support for compressed kernel dumps.Mark Johnston2017-10-251-17/+37
* Fix style and wrap lines to 80 columns in savecore.c.Mark Johnston2017-07-241-16/+29
* Revert r320918 and have mkdumpheader() handle version string truncation.Mark Johnston2017-07-151-1/+1
* Add a newline after the version string.Mark Johnston2017-07-121-1/+1
* Add a subroutine for comparing kerneldump identifiers.Mark Johnston2017-07-111-5/+10
* Switch back to non-IEC units for 1024 bytesEnji Cooper2017-04-151-1/+1
* savecore: fix space calculation with respect to `minfree` in check_space(..)Enji Cooper2017-04-141-8/+27
* Clarify units for mediasize and sectorsize in DoFile(..)Enji Cooper2017-04-121-2/+2
* Clarify `minfree` warning message in check_space(..)Enji Cooper2017-04-121-1/+2
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Make savecore(8) output nicer by specifying the maximum field widthEdward Tomasz Napierala2017-02-191-1/+1
* Fix bugs found by Coverity in decryptcore(8) and savecore(8):Konrad Witaszczyk2017-02-041-0/+3
* Add support for encrypted kernel crash dumps.Konrad Witaszczyk2016-12-101-12/+80
* savecore(8): Fix buffer overrun inspecting disks with varying sector sizeConrad Meyer2016-10-061-6/+7
* Don't leak fd on sectorsize malloc failureEnji Cooper2016-04-201-1/+2
* savecore(8): Explicitly cast to fix i386 warningConrad Meyer2016-04-151-3/+3
* Add 4Kn kernel dump supportConrad Meyer2016-04-151-8/+25
* savecore(8): Be quiet unless the user asks for verboseConrad Meyer2015-11-071-7/+10
* Always check the return value of lseek.Alan Somers2015-11-061-6/+4
* Fix various Coverity issues in sbin/savecore/savecore.c:Alan Somers2015-10-231-6/+6
* Convert savecore to libxo. The 'verbose' paths still use printf since they'reScott Long2015-03-221-23/+49
* If fgets(3) fails in getbounds(), show strerror(3) if not an EOF. Also fixBryan Drewery2014-09-171-1/+5
* Fix double fclose() in an error case.Christian Brueffer2014-04-141-1/+1
* Log the name of the device that we failed to open rather than anMark Johnston2014-03-051-1/+1
* With rotating kernel dumps the higest dump number is not necessarily thePawel Jakub Dawidek2012-12-161-1/+29
* Implement -m option to savecore(8) that allows to limit number of kernelPawel Jakub Dawidek2012-12-161-19/+87
* Make use of the fact that we changed working directory to the dump directoryPawel Jakub Dawidek2012-12-161-4/+3
* Sort flags properly.Pawel Jakub Dawidek2012-12-161-3/+3
* Prefer snprintf() over sprintf().Pawel Jakub Dawidek2012-12-161-5/+5
* - When checking if a dump exists on the given device there is no need toPawel Jakub Dawidek2012-12-141-3/+3
* The clear option (-c) is not compatible with keep (-k) and compress (-z)Pawel Jakub Dawidek2012-12-141-0/+2
* If we are not going to clear the dump (we are either just checking if the dumpPawel Jakub Dawidek2012-12-141-2/+2
* Whitespace cleanups.Pawel Jakub Dawidek2012-12-141-6/+6
* Include <signal.h> (for SIGINFO).Robert Millan2012-04-091-0/+1
* Remove duplicated header filesKevin Lo2011-06-241-1/+0
* Remove the advertising clause from UCB copyrighted files in sbin. ThisJoel Dahl2010-12-121-4/+0