History log of /src/sbin/wdogctl/wdogctl.c |
Revision | | Date | Author | Comments |
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
|