]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Adds signal number format to kern.corefile
authorvangyzen <vangyzen@FreeBSD.org>
Tue, 16 Jul 2019 15:51:09 +0000 (15:51 +0000)
committervangyzen <vangyzen@FreeBSD.org>
Tue, 16 Jul 2019 15:51:09 +0000 (15:51 +0000)
commit18f6c17b71061cdae467c7ce83b9ccedc8eb3c97
treeff91ca272df42377fe070757c6f5e8991ea17623
parent07347a7f8f1310278cde38bdc6107278d1257334
Adds signal number format to kern.corefile

Add format capability to core file names to include signal
that generated the core. This can help various validation workflows
where all cores should not be considered equally (SIGQUIT is often
intentional and not an error unlike SIGSEGV or SIGBUS)

Submitted by: David Leimbach (leimy2k@gmail.com)
Reviewed by: markj
MFC after: 1 week
Relnotes: sysctl kern.corefile can now include the signal number
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D20970
share/man/man5/core.5
sys/kern/kern_sig.c