opnsense-src/sys
John Baldwin b317cfd4c0 Don't enter DDB for fatal traps before panic by default.
Add a new 'debugger_on_trap' knob separate from 'debugger_on_panic'
and make the calls to kdb_trap() in MD fatal trap handlers prior to
calling panic() conditional on this new knob instead of
'debugger_on_panic'.  Disable the new knob by default.  Developers who
wish to recover from a fatal fault by adjusting saved register state
and retrying the faulting instruction can still do so by enabling the
new knob.  However, for the more common case this makes the user
experience for panics due to a fatal fault match the user experience
for other panics, e.g. 'c' in DDB will generate a crash dump and
reboot the system rather than being stuck in an infinite loop of fatal
fault messages and DDB prompts.

Reviewed by:	kib, avg
MFC after:	2 months
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D17768
2018-11-01 21:34:17 +00:00
..
amd64 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
arm Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
arm64 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam Add statistics for TRIM comands 2018-10-26 16:23:51 +00:00
cddl Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
compat linuxkpi: Add GFP flags needed for ttm drivers 2018-11-01 15:30:01 +00:00
conf Add pci_early function to detect Intel stolen memory. 2018-10-31 23:17:00 +00:00
contrib Update to Zstandard 1.3.7 2018-10-22 18:29:12 +00:00
crypto rijndael (AES): Avoid leaking sensitive data on kernel stack 2018-10-26 20:53:01 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev ixl/iavf(4): Update remaining references of "num_queues" to "num_rx_queues" 2018-11-01 17:29:14 +00:00
dts Revert r339421 due to unintended files included to commit. 2018-10-18 15:17:58 +00:00
fs Fix NFS client vnode locking to avoid a crash during forced dismount. 2018-11-01 15:27:22 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Have gconcat advertise delete support if one of its disks does. 2018-10-30 00:22:14 +00:00
gnu dts: Import DTS for arm64 2018-08-23 13:21:01 +00:00
i386 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
kgssapi OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
modules Implement the dump_stack() function in the LinuxKPI. 2018-10-30 16:42:56 +00:00
net With more excessive use of modules, more kernel parts working with 2018-10-30 20:45:15 +00:00
net80211 Fix misspellings of transmitter/transmitted 2018-08-10 20:37:32 +00:00
netgraph Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
netinet carpstats are the last virtualised variable in the file and end up at the 2018-11-01 17:26:18 +00:00
netinet6 Remove redundant checks for a NULL lbgroup table. 2018-11-01 15:52:49 +00:00
netipsec Add sadb_x_sa2 extension to SADB_ACQUIRE requests. 2018-10-21 14:19:16 +00:00
netpfil pf: Make ':0' ignore link-local v6 addresses too 2018-10-28 05:32:50 +00:00
netsmb Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
opencrypto Add sha224 to the authctx union. 2018-10-23 18:07:37 +00:00
powerpc Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
riscv Compile in VERBOSE_SYSINIT support by default, remain silent by default 2018-10-31 22:38:19 +00:00
rpc Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done. 2018-07-20 12:03:16 +00:00
security Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +00:00
sparc64 Compile in VERBOSE_SYSINIT support by default, remain silent by default 2018-10-31 22:38:19 +00:00
sys Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests epoch_test: fix compile 2018-07-15 00:31:17 +00:00
tools Only call sigdeferstop() for NFS. 2018-10-23 21:43:41 +00:00
ufs Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
vm Revert r336984. 2018-10-30 22:40:40 +00:00
x86 Add pci_early function to detect Intel stolen memory. 2018-10-31 23:17:00 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00