diff options
author | smkelly <smkelly@FreeBSD.org> | 2003-06-26 09:50:52 +0000 |
---|---|---|
committer | smkelly <smkelly@FreeBSD.org> | 2003-06-26 09:50:52 +0000 |
commit | d45e58ad731761c5ee7051580c01c0a05c8d9322 (patch) | |
tree | 98951546927e0d8bb8a7c45b699a83ac3f8e84a9 /sys/conf | |
parent | 1cee3fa00127dc5a0eac1e6b6d9f489d1324437f (diff) | |
download | FreeBSD-src-d45e58ad731761c5ee7051580c01c0a05c8d9322.zip FreeBSD-src-d45e58ad731761c5ee7051580c01c0a05c8d9322.tar.gz |
- Add a software watchdog facility.
This commit has two pieces. One half is the watchdog kernel code which lives
primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland
daemon which, when run, will keep the watchdog from firing while the userland
is intact and functioning.
Approved by: jeff (mentor)
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/NOTES | 7 | ||||
-rw-r--r-- | sys/conf/options | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index f616f88..c0c8df0 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2065,6 +2065,13 @@ options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP options HW_WDOG # +# Add software watchdog routines. This will add some sysctl OIDs that +# can be used in combination with an external daemon to create a +# software-based watchdog solution. +# +options WATCHDOG + +# # Disable swapping of upages and stack pages. This option removes all # code which actually performs swapping, so it's not possible to turn # it back on at run-time. diff --git a/sys/conf/options b/sys/conf/options index cf0f70d..9d3c724 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -442,6 +442,7 @@ MUTEX_PROFILING opt_global.h NPX_DEBUG opt_debug_npx.h NETATALKDEBUG opt_atalk.h SI_DEBUG opt_debug_si.h +WATCHDOG opt_watchdog.h # Fb options FB_DEBUG opt_fb.h |