mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 19:03:48 +01:00
kdump: Show code for signals where the default action was taken.
This information is available as of kernel r220740. Trace files from older kernels will always have 0. MFC after: 1 week
This commit is contained in:
parent
6d67f69487
commit
a4a1c5b11e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220756
@ -1134,7 +1134,7 @@ ktrpsig(struct ktr_psig *psig)
|
||||
else
|
||||
(void)printf("SIG %d ", psig->signo);
|
||||
if (psig->action == SIG_DFL)
|
||||
(void)printf("SIG_DFL\n");
|
||||
(void)printf("SIG_DFL code=0x%x\n", psig->code);
|
||||
else {
|
||||
(void)printf("caught handler=0x%lx mask=0x%x code=0x%x\n",
|
||||
(u_long)psig->action, psig->mask.__bits[0], psig->code);
|
||||
|
Loading…
Reference in New Issue
Block a user