Home | History | Annotate | only in /src/sbin/wdogctl
History log of /src/sbin/wdogctl
RevisionDateAuthorComments
 1.1 04-Nov-2000  thorpej Add a program to manipulate watchdog timers.
 1.28 23-Sep-2022  riastradh wdogctl(8): Minor tweak suggested by a passing umarell.

Plus another wording improvement.
 1.27 22-Sep-2022  uwe wdogctl(8): fix -width in previous
 1.26 22-Sep-2022  riastradh wdogctl(8): Rework prose and markup in man page.

No functional change.
 1.25 11-Jul-2020  jruoho Xref x86/tco(4) instead of the parent x86/ichlpcib(4) bridge.
 1.24 11-Aug-2011  mbalmer Xr pwdog(4).
 1.23 19-Mar-2011  wiz Add missing comma.
 1.22 18-Mar-2011  jruoho Xref x86/ichlpcib(4) instead of ichlpcib(4).
 1.21 17-Jan-2011  jmcneill Xr acpiwdrt(4)
 1.20 23-Dec-2010  hauke First release that shipped wdogctl(8) was 1.6, not 1.5.1.
 1.19 18-May-2009  wiz Sort SEE ALSO.
 1.18 09-Jan-2008  xtraeme Xref gcscpcib(4).
 1.17 29-Dec-2007  xtraeme Xref itesio(4).
 1.16 23-Nov-2007  xtraeme branches: 1.16.2;
Mention evbarm/iopwdog(4) and swwdog(4).
 1.15 23-Nov-2007  xtraeme Mention some watchdog drivers in SEE ALSO and don't mention envsys(4)
or envstat(8), they don't have nothing in common with watchdogs.

<wizd> Bump date.
 1.14 13-Aug-2006  wiz branches: 1.14.8;
Bump date for new -x.
 1.13 13-Aug-2006  dyoung 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.
 1.12 21-Jan-2005  wiz "-offset indent" is fine for option lists -- re-add it,
backing out previous. jmmv does not disagree.
 1.11 13-Jan-2005  jmmv Remove extra indentation from the options list.
 1.10 11-Jan-2005  wiz Sort options. Fix a typo. Bump date for -e/-t.
 1.9 09-Jan-2005  smb Add a software watchdog timer facility. Because this slightly
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.

The code was reviewed by simonb@.
 1.8 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.7 03-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.6 29-Jul-2002  wiz Format the path to a file with .Pa.
 1.5 29-Jul-2002  thorpej Note that not all watchdog timers can be disarmed once armed, and that
when such a case is encountered, an error message will be displayed and
the timer will remain armed if an attempt to disarm it is made.
 1.4 16-Nov-2001  wiz branches: 1.4.2;
Use standard section headers.
 1.3 05-Jun-2001  wiz Drop arguments of .Os.
 1.2 26-Nov-2000  ad typo
 1.1 04-Nov-2000  thorpej Add a program to manipulate watchdog timers.
 1.4.2.2 30-Jul-2002  lukem Pull up revision 1.6 (requested by thorpej in ticket #578):
Format the path to a file with .Pa.
 1.4.2.1 30-Jul-2002  lukem Pull up revision 1.5 (requested by thorpej in ticket #577):
Note that not all watchdog timers can be disarmed once armed, and that
when such a case is encountered, an error message will be displayed and
the timer will remain armed if an attempt to disarm it is made.
 1.14.8.2 23-Mar-2008  matt sync with HEAD
 1.14.8.1 09-Jan-2008  matt sync with HEAD
 1.16.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.16.2.1 23-Nov-2007  mjf file wdogctl.8 was added on branch mjf-devfs on 2008-02-18 21:04:18 +0000
 1.21 06-May-2015  pgoyette Use _PATH_WATCHDOG from <paths.h> instead of locally-defined value.
 1.20 27-Aug-2011  joerg static + __dead
 1.19 04-Jan-2011  wiz Fix fd leaks. Found by cppcheck.
 1.18 16-Mar-2009  lukem fix sign-compare issues
 1.17 13-Aug-2006  wiz branches: 1.17.28;
Add -x to usage.
 1.16 13-Aug-2006  dyoung 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.
 1.15 31-Aug-2005  dyoung If ioctl(,WDOGIOC_SMODE,) fails, kill the child process before
killing self, instead of the other way around.

Fixes a bug where the child process would use 100% CPU spinning
while it waited for its parent to arm a non-existent watchdog timer.
Now, the child process gets killed, as was intended.
 1.14 31-Aug-2005  dyoung Cosmetic: KNF.
 1.13 12-Jan-2005  drochner apply "& WDOG_MODE_MASK" at some places, fixes termination of the
usermode tickler process and watchdog display,
make error handling more reasonable in case a wdog disappeared
 1.12 11-Jan-2005  wiz Sort options in usage.
 1.11 09-Jan-2005  smb Add a software watchdog timer facility. Because this slightly
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.

The code was reviewed by simonb@.
 1.10 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.9 13-Jul-2003  itojun use bounded string op
 1.8 23-Jun-2003  agc Add NetBSD RCS Ids.
 1.7 20-Feb-2001  cgd use getprogname()
 1.6 04-Feb-2001  christos fix nested extern
 1.5 11-Jan-2001  soren Remove extern __progname from enable_user(); no longer used.
 1.4 11-Jan-2001  lukem use explicit name rather than __progname in openlog
 1.3 10-Jan-2001  lukem don't use LOG_CONS
fix typo
 1.2 06-Nov-2000  minoura #include <string.h> for strlen() and strcpy().
 1.1 04-Nov-2000  thorpej Add a program to manipulate watchdog timers.
 1.17.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed