NetBSD/sys/dev/sysmon
xtraeme 91551751e7 Add another flag that is set only when the event was enqueued
(and its dictionary created) successfully and use it in the
POWER_EVENT_RECVDICT ioctl to check if the dictionary is ready before
calling prop_dictionary_copyout_ioctl().

This fixes a rare condition when too many events are enqueued and
there wasn't time to create the dictionary, so prop_dictionary_copyout_ioctl()
fails with a NULL pointer dereference.
2007-11-10 09:32:24 +00:00
..
files.sysmon - Remove ENVSYS_GSTRING and the genstr member from envsys_data_t. 2007-09-04 16:54:02 +00:00
swwdog.c Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
sysmon_envsys_events.c - Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY and 2007-11-03 23:05:21 +00:00
sysmon_envsys_tables.c - Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY and 2007-11-03 23:05:21 +00:00
sysmon_envsys_util.c New changes to support the new configuration file format for 2007-10-07 04:11:15 +00:00
sysmon_envsys.c - Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY and 2007-11-03 23:05:21 +00:00
sysmon_envsysvar.h - Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY and 2007-11-03 23:05:21 +00:00
sysmon_power.c Add another flag that is set only when the event was enqueued 2007-11-10 09:32:24 +00:00
sysmon_taskq.c Convert sysmon_taskqueue to use mutex(9) and condvar(9) and initialize 2007-07-21 23:15:16 +00:00
sysmon_taskq.h Convert sysmon_taskqueue to use mutex(9) and condvar(9) and initialize 2007-07-21 23:15:16 +00:00
sysmon_wdog.c Add <sys/mutex.h> rather than <sys/lock.h>. 2007-09-02 00:44:07 +00:00
sysmon.c
sysmonconf.h
sysmonvar.h Remove sysmon_envsys_find() proto, it's defined on sysmon_envsysvar.h. 2007-11-03 23:25:20 +00:00