| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Approved by: kib (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
On machines with huge amount of swap and high IO activity,
watchdogd(8) may wait for a swap memory longer than timeout and
sometimes fires.
Approved by: kib (mentor)
MFC after: 1 week
|
|
|
|
| |
SVN r199804 which added protection to sshd, cron, syslogd, and inetd.
|
|
|
|
|
|
|
|
| |
While I'm there also add a 'static' keyword for a function to make it
consistent with prototype.
Reviewed by: phk
MFC after: 3 months
|
| |
|
|
|
|
|
|
|
| |
I was considering committing all these patches one by one, but as
discussed with brooks@, there is no need to do this. If we ever
need/want to merge these changes back, it is still possible to do this
per application.
|
|
|
|
| |
within watchdogd(8) fails. This is also consistent with watchdog(8).
|
|
|
|
|
| |
That'll require -KILL. This avoids resetting your system on one of the
watchdogs that you cannot disable.
|
| |
|
| |
|
|
|
|
| |
Submitted by: Adrian Steinmann <ast@marabu.ch>
|
|
|
|
|
| |
Complain about extra arguments so people don't get surprised
if they type "watchdog 0"
|
|
|
|
|
|
|
| |
them for reading. When user can open file for reading, he can also
flock(2) it, which can lead to confusions.
Pointed out by: green
|
| |
|
|
|
|
|
|
|
| |
return value of the ioctl doesn't indicate that the command has failed
so don't let watchdog(8) return an error in this case.
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
if the swap subsystem failed.
Requested by: phk
|
|
|
|
| |
out of swap.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
<sys/sysctl.h>.
|
|
|
|
|
| |
- Sort SEE ALSO by section number.
- Remove redundant ','.
|
|
|
|
|
|
|
|
| |
- Remove EOL whitespace.
- Expand contracted words.
- Correct usage of .Fl macro.
- Use complete argument to -width.
- Remove redundant ','.
|
|
|
|
|
|
|
|
|
|
|
| |
generic watchdoc(9) interface.
Make watchdogd(8) perform as watchdog(8) as well, and make it
possible to specify a check command to run, timeout and sleep
periods.
Update watchdog(4) to talk about the generic interface and add
new watchdog(8) page.
|
|
|
|
| |
Use WARNS?= instead of WARNS=.
|
|
|
|
|
|
|
|
|
|
|
| |
- Reordered #includes
- Only include <sys/types.h>, not it and <sys/cdefs.h>
o style.Makefile(5) fixes
- No SRCS= line when only one src file with same name as program
o Use warn()/errx() instead of fprintf()
- Integrated patch from Philippe Charnier <charnier@xp11.frmug.org>
Approved by: jeff (mentor)
|
|
|
|
| |
Double pointy hat to me, or something.
|
|
|
|
| |
Submitted by: smkelly
|
|
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)
|