Commit Graph

46 Commits

Author SHA1 Message Date
riastradh 811e9ec794 wdogctl(8): Minor tweak suggested by a passing umarell.
Plus another wording improvement.
2022-09-23 12:35:00 +00:00
uwe 7bdf691e15 wdogctl(8): fix -width in previous 2022-09-22 21:40:42 +00:00
riastradh 30c75eaa64 wdogctl(8): Rework prose and markup in man page.
No functional change.
2022-09-22 14:02:45 +00:00
jruoho a2d604357d Xref x86/tco(4) instead of the parent x86/ichlpcib(4) bridge. 2020-07-11 12:51:21 +00:00
pgoyette 77cc846abe Use _PATH_WATCHDOG from <paths.h> instead of locally-defined value. 2015-05-06 23:08:30 +00:00
joerg b79356001b static + __dead 2011-08-27 18:57:50 +00:00
mbalmer c52f77ae96 Xr pwdog(4). 2011-08-11 08:00:05 +00:00
wiz 8daed3c318 Add missing comma. 2011-03-19 08:41:19 +00:00
jruoho 5c4331b81a Xref x86/ichlpcib(4) instead of ichlpcib(4). 2011-03-18 21:22:04 +00:00
jmcneill 21b4f7d5bd Xr acpiwdrt(4) 2011-01-17 16:09:48 +00:00
wiz a88611257c Fix fd leaks. Found by cppcheck. 2011-01-04 23:48:44 +00:00
hauke 34b397c5e6 First release that shipped wdogctl(8) was 1.6, not 1.5.1. 2010-12-23 14:29:52 +00:00
wiz 69f3168bc0 Sort SEE ALSO. 2009-05-18 12:29:31 +00:00
lukem 07f7688506 fix sign-compare issues 2009-03-16 12:56:19 +00:00
xtraeme e0fef4a42b Xref gcscpcib(4). 2008-01-09 14:35:54 +00:00
xtraeme a5381ad0a5 Xref itesio(4). 2007-12-29 06:10:29 +00:00
xtraeme 90a0b7ad49 Mention evbarm/iopwdog(4) and swwdog(4). 2007-11-23 13:32:46 +00:00
xtraeme 9537f21760 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.
2007-11-23 11:34:50 +00:00
wiz 003523496e Add -x to usage. 2006-08-13 23:24:53 +00:00
wiz 85d38d942b Bump date for new -x. 2006-08-13 23:23:30 +00:00
dyoung a79c18d72f 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.
2006-08-13 01:11:01 +00:00
dyoung fab0410101 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.
2005-08-31 18:28:58 +00:00
dyoung 1c952b1b24 Cosmetic: KNF. 2005-08-31 18:21:39 +00:00
wiz d68085a6b6 "-offset indent" is fine for option lists -- re-add it,
backing out previous. jmmv does not disagree.
2005-01-21 10:40:01 +00:00
jmmv 35495e3550 Remove extra indentation from the options list. 2005-01-13 13:21:24 +00:00
drochner bad8321653 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
2005-01-12 16:18:39 +00:00
wiz da2ab5ca28 Sort options in usage. 2005-01-11 11:30:19 +00:00
wiz 5bd1d870f9 Sort options. Fix a typo. Bump date for -e/-t. 2005-01-11 11:29:22 +00:00
smb ddd2ade252 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@.
2005-01-09 22:51:32 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun 8883e1fb40 use bounded string op 2003-07-13 08:05:58 +00:00
agc c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
wiz 92b80e91d7 Format the path to a file with .Pa. 2002-07-29 21:08:30 +00:00
thorpej 1384fef106 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.
2002-07-29 21:00:15 +00:00
wiz 4136eb5c86 Use standard section headers. 2001-11-16 11:27:09 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd d7666f6c7f use getprogname() 2001-02-20 23:22:49 +00:00
christos a2c613b344 fix nested extern 2001-02-04 21:14:32 +00:00
soren 65c1d02861 Remove extern __progname from enable_user(); no longer used. 2001-01-11 16:37:41 +00:00
lukem 0645f2f67b use explicit name rather than __progname in openlog 2001-01-11 01:34:28 +00:00
lukem d4b8ad46d7 don't use LOG_CONS
fix typo
2001-01-10 07:59:43 +00:00
ad 1b9fadaf46 typo 2000-11-26 15:13:19 +00:00
minoura f23be04b99 #include <string.h> for strlen() and strcpy(). 2000-11-06 07:48:28 +00:00
thorpej fb6f7d6f21 Add a program to manipulate watchdog timers. 2000-11-04 18:53:30 +00:00