opnsense-src/sys
Andriy Gapon 08bc6b60c3 dwwdt: make it actually useful
Flip dwwdt_prevent_restart to false.  What's the use of a watchdog if it
does not restart a hung system?

Add a knob for panic-ing on the first timeout, resetting on the second
one.  This can be useful if interrupts can still work, otherwise a reset
recovers a system without any aid for debugging the hang.

The change also doubles the timeout that's programmed into the hardware.
The previous version of the code always had the interrupt on the first
timeout enabled, but it took no action on it.  Only the second timeout
could be configured to reset the system.  So, the hardware timeout was
set to a half of the user requested timeout.  But now,we can take a
corrective action on the first timeout, so we use the user requested
timeout.

While here, define boolean sysctl-s as such.

(cherry picked from commit ee900888c4)
2022-02-01 10:11:26 +02:00
..
amd64 exec: Remove the stack gap implementation 2022-01-31 09:48:57 -05:00
arm sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
arm64 sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Optimize write protection MODE SENSE in da(4). 2022-01-27 19:25:45 -05:00
cddl Allow ddb and dtrace use the DMAP region on arm64 2022-01-04 10:49:51 +00:00
compat exec: Remove the stack gap implementation 2022-01-31 09:48:57 -05:00
conf Use ${MACHINE} for the kernel modeule ldscript 2022-01-31 10:05:54 +00:00
contrib zlib: Fix bootstrap build on macOS 2022-01-24 23:59:16 +00:00
crypto Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le 2021-12-29 14:45:29 +01:00
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev dwwdt: make it actually useful 2022-02-01 10:11:26 +02:00
dts add rk3328 overlay for enabling analog sound 2021-11-21 12:04:42 +02:00
fs fusefs: Address -Wunused-but-set-variable warnings 2022-01-27 09:24:53 -05:00
gdb gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
geom geom label msdosfs: sanity check BPB before using it for io request 2022-01-14 20:11:01 +02:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
isa Remove more remnants of sio(4) 2021-04-14 09:19:49 -04:00
kern exec: Remove the stack gap implementation 2022-01-31 09:48:57 -05:00
kgssapi
libkern Switch to an ifunc in the kernel for crc32c 2021-08-30 12:22:21 +01:00
mips mips: Implement suword16 2022-01-07 14:30:18 +01:00
modules iwlwifi: import correct firmware versions for select Intel iwlwifi/mvm 2022-01-09 02:37:01 +00:00
net Make CPU_SET macros compliant with other implementations 2022-01-14 18:17:30 +02:00
net80211 net80211: ieee80211_dump_node() cosmetics 2022-01-20 14:06:15 +00:00
netgraph Add ETHER_ALIGN support to ng_device(4). 2022-01-14 14:28:43 +01:00
netinet tcp: Tidying up the conditionals for unwinding a spurious RTO 2022-01-30 11:41:16 +01:00
netinet6 netinet6: Fix a typo in a sysctl description 2021-12-03 16:53:41 +01:00
netipsec ipsec: fix a logic error in key_do_getnewspi 2021-12-19 14:44:52 +00:00
netpfil pfsync: fix incorrect enabling of defer mode 2021-12-13 14:49:27 +01:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-06-02 09:34:47 -04:00
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2022-01-02 20:09:15 -07:00
nfsclient
nfsserver
nlm
ofed socket: Rename sb(un)lock() and interlock with listen(2) 2021-10-07 09:56:47 -04:00
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-23 15:11:54 -08:00
powerpc sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
riscv sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
rpc rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values 2021-12-29 17:23:30 -08:00
security Thread creation privilege for realtime group 2021-12-19 04:42:52 +02:00
sys exec: Remove the stack gap implementation 2022-01-31 09:48:57 -05:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests routing: add IPv6 fib validation procedure. 2021-09-07 21:02:58 +00:00
tools arm64: Don't rely on host readelf for u-boot booti image generation 2022-01-24 23:59:51 +00:00
ufs When doing a read-only mount of a UFS filesystem using gjournal(8), 2022-01-18 15:13:42 -08:00
vm vm_pageout_scans: correct detection of active object 2022-01-29 03:10:44 +02:00
x86 Fix variable name: freq_khz -> freq 2022-01-15 21:33:48 -08:00
xdr
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile