History log of /freebsd-current/sbin/savecore/Makefile
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# bc7ed46b 18-Nov-2020 Gleb Smirnoff <glebius@FreeBSD.org>

Add '-u' switch that would uncompress cores that were compressed by
kernel during dump time.

A real life scenario is that cores are compressed to reduce
size of dumpon partition, but we either don't care about space
in the /var/crash or we have a filesystem level compression of
/var/crash. And we want cores to be uncompressed in /var/crash
because we'd like to instantily read them with kgdb. In this
case we want kernel to write cores compressed, but savecore(1)
write them uncompressed.

Reviewed by: markj, gallatin
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27245


# 0fadd673 04-Jan-2019 Mark Johnston <markj@FreeBSD.org>

Disable savecore(8)'s libcasper support when WITHOUT_DYNAMICROOT=yes.

This follows the example of other Capsicumized programs in /sbin.

Reported by: Manfred Antar <manfredantar@gmail.com>
MFC with: r342699
Sponsored by: The FreeBSD Foundation


# d7fffd06 02-Jan-2019 Mark Johnston <markj@FreeBSD.org>

Capsicumize savecore(8).

- Use cap_fileargs(3) to open dump devices after entering capability
mode, and use cap_syslog(3) to log messages.
- Use a relative directory fd to open output files.
- Use zdopen(3) to compress kernel dumps in capability mode.

Reviewed by: cem, oshogbo
MFC after: 2 months
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18458


# 270adb21 03-Dec-2018 Renato Botelho <garga@FreeBSD.org>

Restore /var/crash permissions to 0750, as declared in mtree file. After
r337337 it changed to 0755.

Reviewed by: loos
Approved by: loos
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D18355


# 4d2cf170 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move etc/minfree to sbin/savecore/.

This is prep for pkgbase to have config files tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16558


# 406d87b1 09-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Explicitly add more files to the 'runtime' package.

Sponsored by: The FreeBSD Foundation


# 550d2b80 18-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Make libxo depend on libutil because it uses humanize_number after r287111

Remove overlinking in lib/libxo/tests, sbin/savecore, and
usr.bin/{iscsictl,wc,xo}

PR: 203673
Sponsored by: EMC / Isilon Storage Division


# d1a0d267 24-Aug-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Upgrade libxo to 0.4.5.

Local changes incorporated by 0.4.5: r284340
Local changes retained: r276260, r282117

Obtained from: https://github.com/Juniper/libxo


# d16528b2 22-Mar-2015 Scott Long <scottl@FreeBSD.org>

Convert savecore to libxo. The 'verbose' paths still use printf since they're
meant for interactivity on the command line and contain a lot of redundant
information.

Obtained from: Netflix, Inc.


# 13eb765f 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert sbin/ to LIBADD
Reduce overlinking


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 106d8391 19-Oct-2009 Ruslan Ermilov <ru@FreeBSD.org>

Switch the default WARNS level for sbin/ to 6.

Submitted by: Ulrich Spörlein


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# e80cfa46 10-Jan-2005 Xin LI <delphij@FreeBSD.org>

Initialize "he" in DoFile, so savecore(8) is WARNS=6 clean.
Bump WARNS accordingly.


# 604d24db 23-Feb-2004 Johan Karlsson <johan@FreeBSD.org>

style.Makefile(5):
Use WARNS?= instead of WARNS=.


# 89a600f1 12-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

Style.


# edc4f96e 04-May-2002 Bill Fenner <fenner@FreeBSD.org>

- revert back to vmcore.#
- reimplement -z
- use syslog()
- improve consistancy of messages
- allow -f to recover cleared dumps
- return bufsize to 1024 * 1024
- return the ability to write sparse files
- update man page
- fix minfree to require 2k for info file instead of the kernel size
- include Berkeley copyright too due to amount of old code copied

Submitted by: Chad David <davidc@acns.ab.ca>


# d94f51a0 01-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Duh, savecore is called savecore.


# d503fad0 31-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Savecore:

Commandline compatible with the previous savecore unless you specify
any options, none of them are implemented (yet).

Scans all devices marked "dump" or "swap" for dump header signatures
and saves dumps off under a name which is a MD5 hash of the header
information. This should give unique filenames. A *.info file contains
ascii version of the header information.


# 2d68bf45 03-Dec-2001 David E. O'Brien <obrien@FreeBSD.org>

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


# dff462c3 06-Sep-2001 Kris Kennaway <kris@FreeBSD.org>

* Switch from doing compress(1)ed crashdumps with the -z flag to using
gzip(1). gdb doesn't understand these, but then again it didn't
understand compressed crashdumps either.
* Change a stray lseek() into a Lseek()
* Remove the extraneous prototype for log() which has apparently never
existed in FreeBSD's sources

Obtained from: NetBSD (partially)
MFC after: 2 weeks


# 0a5779d4 26-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


# fe655281 20-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

Set the default manual section for sbin/ to 8.


# 6127186d 20-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

a header file for zopen.3

Pointed out by: Philippe Charnier <charnier@lirmm.fr>


# 404c1a5f 04-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.


# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.