Subject: CVS commit: src/sbin/wdogctl
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 08/13/2006 01:11:01
Module Name: src
Committed By: dyoung
Date: Sun Aug 13 01:11:01 UTC 2006
Modified Files:
src/sbin/wdogctl: wdogctl.8 wdogctl.c
Log Message:
Add a flag to wdogctl(8), -x, that activates a user-mode timer that
is NOT disarmed when wdogctl closes the watchdog device. The -x
mode protects against the case where the kernel kills wdogctl,
sshd, and other essential userland programs (due to memory exhaustion,
for example), lobotomizing a mission-critical NetBSD system and
necessitating an operator visit to reboot it.
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sbin/wdogctl/wdogctl.8
cvs rdiff -r1.15 -r1.16 src/sbin/wdogctl/wdogctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.