NetBSD/sys/dev/sysmon
jdolecek 57b53bc9a8 The device close routine is called when _last_ descriptor to the
device file is closed, rather on every descriptor close. Instead of
getting the exclusive lock on open and releasing on close, get
the lock only when needed in sysmonioctl_envsys().
Fixes kern/14368 by Anthony Mallet. Okayed by Jason Thorpe.

While here, also inline sysmon_envsys_init() to sysmonopen_envsys(),
and g/c sysmonioctl_wdog() prototype.
2002-01-03 22:35:53 +00:00
..
sysmon_envsys.c The device close routine is called when _last_ descriptor to the 2002-01-03 22:35:53 +00:00
sysmon_wdog.c add RCSIDs 2001-11-13 06:28:55 +00:00
sysmon.c add RCSIDs 2001-11-13 06:28:55 +00:00
sysmonconf.h Split the envsys and watchdog parts of sysmon into their own 2000-11-05 04:06:13 +00:00
sysmonvar.h Split the envsys and watchdog parts of sysmon into their own 2000-11-05 04:06:13 +00:00