History log of /src/usr.sbin/powerd/powerd.c |
Revision | | Date | Author | Comments |
1.21 |
| 03-Aug-2023 |
mrg | avoid having addresses of local variable exist after a function returns.
found by GCC 12.
|
1.20 |
| 12-Oct-2020 |
roy | powerd: Stop crashing if entries are not found in the dictionary
If the first three are not found, log a diagnostic and do nothing. If the latter two are not found, set them to NULL rather than garbage.
|
1.19 |
| 07-Jun-2020 |
thorpej | Update for proplib(3) API changes.
|
1.18 |
| 09-Feb-2013 |
christos | CID/980002: missing va_end()
|
1.17 |
| 15-Mar-2012 |
joerg | branches: 1.17.2; Add __printflike attribution to use vprintf and friends with an argument as format string.
|
1.16 |
| 19-Dec-2010 |
pgoyette | branches: 1.16.6; Rump-ify powerd.
|
1.15 |
| 15-Dec-2010 |
pgoyette | Add an option to not actually run the power management scripts, and when in debug mode send all error messages to stderr rather than to syslog(8).
|
1.14 |
| 24-Apr-2010 |
jruoho | Define _PATH_POWER and use it.
|
1.13 |
| 15-Dec-2007 |
perry | convert __attribute__s to applicable cdefs.h macros
|
1.12 |
| 06-Oct-2007 |
xtraeme | Remove an extra prop_object_release().
|
1.11 |
| 27-Sep-2007 |
xtraeme | Duh! add missing free(3) in previous.
|
1.10 |
| 27-Sep-2007 |
xtraeme | In debug mode, don't forget to free the buffer returned by prop_dictionary_externalize().
|
1.9 |
| 04-Sep-2007 |
xtraeme | Update to match current kernel code.
|
1.8 |
| 01-Jul-2007 |
xtraeme | branches: 1.8.4; Imported envsys 2, a brief description of the new features: (Part 3: userland)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/warning events to powerd(8). * Adapted all the code to the new locking order. * Compatibility with the old envsys API: the ENVSYS_GTREINFO and ENVSYS_GTREDATA ioctl(2)s are supported. * Added support for a 'dictionary based communication channel' between sysmon_power(9) and powerd(8), that means there is no 32 bytes event size restriction anymore. * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40. * All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4). bouyer: ipmi(4), mfi(4). kefren: ug(4). njoly: viaenv(4), adt7463.c. riz: owtemp(4). xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
|
1.7 |
| 07-May-2007 |
xtraeme | Use __arraycount() from sys/cdefs.h.
|
1.6 |
| 05-Feb-2006 |
christos | pass WARNS=4
|
1.5 |
| 05-Feb-2006 |
christos | PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it is not open from the child process. While I am here: - KNF, pass lint. - Fix a bug where the outer loop index was re-used in the inner loop. - Check the return code of wait.
|
1.4 |
| 03-May-2004 |
kochi | Add AC adapter event type.
|
1.3 |
| 13-Jul-2003 |
itojun | use bounded string op
|
1.2 |
| 20-Apr-2003 |
thorpej | Support the reset button type.
|
1.1 |
| 18-Apr-2003 |
thorpej | Power management daemon for sysmon. Currently supports acting on power switch state change events.
|
1.8.4.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.8.4.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.16.6.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.16.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.17.2.1 |
| 25-Feb-2013 |
tls | resync with head
|