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.c add RCSIDs 2001-11-13 06:28:55 +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
sysmonconf.h
sysmonvar.h