hal ChangeLog,1.598,1.599 hal.conf.in,1.5,1.6
David Zeuthen
david at freedesktop.org
Tue Aug 16 11:08:44 PDT 2005
- Previous message: hal/tools Makefile.am, 1.18, 1.19 hal-system-power-hibernate, NONE,
1.1 hal-system-power-set-power-save, NONE,
1.1 hal-system-power-suspend, NONE, 1.1
- Next message: hal/po ChangeLog,1.18,1.19 nl.po,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv9732
Modified Files:
ChangeLog hal.conf.in
Log Message:
2005-08-16 David Zeuthen <davidz at redhat.com>
First stab at system power management... Need to put this in the
hal spec too..
* hal.conf.in: Add security policy for Device.SystemPowerManagement
and Device.Volume.Crypto interfaces - only allow the console user to
invoke methods on these interfaces
* fdi/policy/10osvendor/10-power-mgmt-policy.fdi: Add methods
Suspend(int secondsBeforeWakeup), Hibernate() and
SetPowerSave(bool shouldSavePower) to the
org.freedesktop.Hal.Device.SystemPowerManagement interface
* tools/Makefile.am (sbin_SCRIPTS): Add hal-system-power-*
* tools/hal-system-power-hibernate: New file
* tools/hal-system-power-suspend: New file
* tools/hal-system-power-set-power-save: New file
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.598
retrieving revision 1.599
diff -u -d -r1.598 -r1.599
--- ChangeLog 14 Aug 2005 21:23:06 -0000 1.598
+++ ChangeLog 16 Aug 2005 18:08:42 -0000 1.599
@@ -1,3 +1,25 @@
+2005-08-16 David Zeuthen <davidz at redhat.com>
+
+ First stab at system power management... Need to put this in the
+ hal spec too..
+
+ * hal.conf.in: Add security policy for Device.SystemPowerManagement
+ and Device.Volume.Crypto interfaces - only allow the console user to
+ invoke methods on these interfaces
+
+ * fdi/policy/10osvendor/10-power-mgmt-policy.fdi: Add methods
+ Suspend(int secondsBeforeWakeup), Hibernate() and
+ SetPowerSave(bool shouldSavePower) to the
+ org.freedesktop.Hal.Device.SystemPowerManagement interface
+
+ * tools/Makefile.am (sbin_SCRIPTS): Add hal-system-power-*
+
+ * tools/hal-system-power-hibernate: New file
+
+ * tools/hal-system-power-suspend: New file
+
+ * tools/hal-system-power-set-power-save: New file
+
2005-08-14 Richard Hughes <richard at hughsie.com>
* .cvsignore, tools/.cvsignore: adds a few generated files to .cvsignore
@@ -6,14 +28,14 @@
2005-08-13 Kay Sievers <kay.sievers at vrfy.org>
-Add missing files.
+ Add missing files.
* volume_id/ocfs2.c: (volume_id_probe_ocfs2):
* volume_id/ocfs2.h:
2005-08-13 Kay Sievers <kay.sievers at vrfy.org>
-Sync up volume_id with the udev version.
+ Sync up volume_id with the udev version.
* drive_id/drive_id.c: (drive_id_open_dev_t):
* volume_id/Makefile.am:
Index: hal.conf.in
===================================================================
RCS file: /cvs/hal/hal/hal.conf.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- hal.conf.in 12 Sep 2004 09:57:59 -0000 1.5
+++ hal.conf.in 16 Aug 2005 18:08:42 -0000 1.6
@@ -25,5 +25,19 @@
receive_sender="org.freedesktop.Hal"/>
</policy>
+ <policy context="default">
+ <deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ </policy>
+ <policy at_console="true">
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ </policy>
+
+ <policy context="default">
+ <deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ </policy>
+ <policy at_console="true">
+ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ </policy>
+
</busconfig>
- Previous message: hal/tools Makefile.am, 1.18, 1.19 hal-system-power-hibernate, NONE,
1.1 hal-system-power-set-power-save, NONE,
1.1 hal-system-power-suspend, NONE, 1.1
- Next message: hal/po ChangeLog,1.18,1.19 nl.po,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the hal-commit
mailing list