Align the interfaces for the various watchdogs and make the interface
behave as expected.
Also:
- Return an error if WD_PASSIVE is passed in to the ioctl as only
WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an
explanation of the difference between WD_ACTIVE and WD_PASSIVE.
- Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've
lost your sense of humor, than don't add a define.
Specific changes:
i80321_wdog.c
Don't roll your own passive watchdog tickle as this would defeat the
purpose of an active (userland) watchdog tickle.
ichwd.c / ipmi.c:
WD_ACTIVE means active patting of the watchdog by a userland process,
not whether the watchdog is active. See sys/watchdog.h.
kern_clock.c:
(software watchdog) Remove a check for WD_ACTIVE as this does not make
sense here. This reverts r1.181.
Revision Changes Path
1.371 +1 -0 src/share/man/man4/Makefile
1.8 +69 -25 src/share/man/man4/watchdog.4
1.4 +7 -1 src/share/man/man9/watchdog.9
1.3 +15 -11 src/sys/arm/xscale/i80321/i80321_wdog.c
1.7 +12 -30 src/sys/dev/ichwd/ichwd.c
1.8 +8 -17 src/sys/dev/ipmi/ipmi.c
1.8 +3 -1 src/sys/dev/mk48txx/mk48txx.c
1.4 +4 -1 src/sys/dev/watchdog/watchdog.c
1.33 +9 -9 src/sys/i386/i386/elan-mmcr.c
1.193 +3 -3 src/sys/kern/kern_clock.c
1.4 +0 -4 src/sys/sys/watchdog.h
and
Don't exit from watchdogd on receiving a signal if we cannot stop the watchdog.
That'll require -KILL. This avoids resetting your system on one of the
watchdogs that you cannot disable.
Revision Changes Path
1.15 +18 -11 src/usr.sbin/watchdogd/watchdogd.c
Reviewed by: phk
Remove hard-coded limit (200) on maximum number of packages that can be
added with a single invocation of pkg_add, replacing it with something
rather more dynamic.
1.90: Fix typos in comments.
1.91: Add /lib and /libexec to the list of directories that have the
schg flag removed prior to an upgrade.
1.93: Fix a pair of user-visible typos.
Approved by: ru
Allow for module-path being a semicolon-separated list of dirs.
This is consistent with kern.module_path sysctl and also compensates
for the unconventional syntax of asf(8) where the last of multiple
arguments is the output file, which prevents us from using the
traditional Unix syntax "foo file ..." to specify multiple module
dirs.
asf.c rev. 1.12
asf.8 rev. 1.11
- Add israeli mirror IPv4 and IPv6 [1]
- Add an IPv6 main site now both ISC and TDC have IPv6
Submitted by: Rostislav Krasny <rosti.bsd@gmail.com> [1]
Reviewed by: simon
Do not mark Bluetooth HID device as "potential keyboard" if its descriptor
has items with CONSUMER page. For now only check for items with KEYBOARD page.
This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft
Bluetooth Explorer mouse.
Approved by: re (bmah)
revision 1.240
date: 2006/11/23 00:57:10; author: kensmith; state: Exp; lines: +1 -1
Oops - what people refer to as linux_base-fc4 calls itself linux_base-fc
and that's what pkg_add needs.
Fix a bug which caused a spurious "Fetching 2 metadata files... failed."
error message the first time FreeBSD Update is run on a release which
doesn't need any updates.
> revision 1.108
> date: 2006/11/19 08:12:54; author: kensmith; state: Exp; lines: +15 -19
> Move the check for which disc volume we have/want to after we install
> the package dependencies. Installation of the dependencies may leave
> us on the wrong disc volume.