Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/dev/sysmon



Module Name:    syssrc
Committed By:   jdolecek
Date:           Thu Jan  3 22:35:54 UTC 2002

Modified Files:
        syssrc/sys/dev/sysmon: sysmon_envsys.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/dev/sysmon/sysmon_envsys.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index