summaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
AgeCommit message (Expand)Author
2025-01-24savecore: add missing call to cap_openlog when in capabilities modeStéphane Rochoy
2024-04-04savecore(8): Complete libxo transitionYan-Hao Wang
2023-11-26sbin: Automated cleanup of cdefs and other formattingWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2022-04-18savecore: add an option to save a live minidumpMitchell Horne
2022-04-18savecore: factor out info file handlingMitchell Horne
2022-04-18savecore: decrease filename buffer sizesMitchell Horne
2022-04-18savecore: fold maxdumps check into getbounds()Mitchell Horne
2022-04-05savecore: include '-u' flag in usage messageMitchell Horne
2021-12-07savecore: emit information about saved cores under verboseKyle Evans
2020-12-11savecore: bail on write error even when decompressingRyan Libby
2020-11-19Add '-u' switch that would uncompress cores that were compressed byGleb Smirnoff
2020-11-03Style, not functional changes:Gleb Smirnoff
2020-10-29Convert flags from int to bool. Some (compress) were already used inGleb Smirnoff
2020-06-29savecore: accept device names without the /dev/ prefixAlan Somers
2020-01-13savecore: include time zone in info.N fileEric van Gyzen
2019-04-17cap_fileargs: chase r346315, update fileargs_init in consumersEd Maste
2019-01-02Fix an error check after r342699.Mark Johnston
2019-01-02Capsicumize savecore(8).Mark Johnston
2018-05-29The extension for zstd-compressed files is ".zst".Mark Johnston
2018-02-16Prevent savecore from reading bounds from the current directory.Mike Silbersack
2018-02-13Add support for zstd-compressed user and kernel core dumps.Mark Johnston
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-10-25Add support for compressed kernel dumps.Mark Johnston
2017-07-24Fix style and wrap lines to 80 columns in savecore.c.Mark Johnston
2017-07-15Revert r320918 and have mkdumpheader() handle version string truncation.Mark Johnston
2017-07-12Add a newline after the version string.Mark Johnston
2017-07-11Add a subroutine for comparing kerneldump identifiers.Mark Johnston
2017-04-15Switch back to non-IEC units for 1024 bytesEnji Cooper
2017-04-14savecore: fix space calculation with respect to `minfree` in check_space(..)Enji Cooper
2017-04-12Clarify units for mediasize and sectorsize in DoFile(..)Enji Cooper
2017-04-12Clarify `minfree` warning message in check_space(..)Enji Cooper
2017-02-28Renumber copyright clause 4Warner Losh
2017-02-19Make savecore(8) output nicer by specifying the maximum field widthEdward Tomasz Napierala
2017-02-04Fix bugs found by Coverity in decryptcore(8) and savecore(8):Konrad Witaszczyk
2016-12-10Add support for encrypted kernel crash dumps.Konrad Witaszczyk
2016-10-06savecore(8): Fix buffer overrun inspecting disks with varying sector sizeConrad Meyer
2016-04-20Don't leak fd on sectorsize malloc failureEnji Cooper
2016-04-15savecore(8): Explicitly cast to fix i386 warningConrad Meyer
2016-04-15Add 4Kn kernel dump supportConrad Meyer
2015-11-07savecore(8): Be quiet unless the user asks for verboseConrad Meyer
2015-11-06Always check the return value of lseek.Alan Somers
2015-10-23Fix various Coverity issues in sbin/savecore/savecore.c:Alan Somers
2015-03-22Convert savecore to libxo. The 'verbose' paths still use printf since they'reScott Long
2014-09-17If fgets(3) fails in getbounds(), show strerror(3) if not an EOF. Also fixBryan Drewery
2014-04-14Fix double fclose() in an error case.Christian Brueffer
2014-03-05Log the name of the device that we failed to open rather than anMark Johnston
2012-12-16With rotating kernel dumps the higest dump number is not necessarily thePawel Jakub Dawidek
2012-12-16Implement -m option to savecore(8) that allows to limit number of kernelPawel Jakub Dawidek
2012-12-16Make use of the fact that we changed working directory to the dump directoryPawel Jakub Dawidek