hal/policy/txt Makefile.am, 1.3, 1.4 hal-power-hibernate.privilege, NONE, 1.1 hal-power-poweroff.privilege, NONE, 1.1 hal-power-reboot.privilege, NONE, 1.1 hal-power-suspend.privilege, NONE, 1.1 hal-storage-fixed-mount-change-uid.privilege, NONE, 1.1 hal-storage-fixed-mount.privilege, NONE, 1.1 hal-storage-removable-mount-change-uid.privilege, NONE, 1.1 hal-storage-removable-mount.privilege, NONE, 1.1 power-hibernate.policy, 1.2, NONE power-poweroff.policy, 1.2, NONE power-reboot.policy, 1.2, NONE power-suspend.policy, 1.2, NONE storage-fixed-mount-change-uid.policy, 1.1, NONE storage-fixed-mount.policy, 1.1, NONE storage-removable-mount-change-uid.policy, 1.2, NONE storage-removable-mount.policy, 1.2, NONE

David Zeuthen david at kemper.freedesktop.org
Mon Mar 13 22:43:52 PST 2006


Update of /cvs/hal/hal/policy/txt
In directory kemper:/tmp/cvs-serv17966/policy/txt

Modified Files:
	Makefile.am 
Added Files:
	hal-power-hibernate.privilege hal-power-poweroff.privilege 
	hal-power-reboot.privilege hal-power-suspend.privilege 
	hal-storage-fixed-mount-change-uid.privilege 
	hal-storage-fixed-mount.privilege 
	hal-storage-removable-mount-change-uid.privilege 
	hal-storage-removable-mount.privilege 
Removed Files:
	power-hibernate.policy power-poweroff.policy 
	power-reboot.policy power-suspend.policy 
	storage-fixed-mount-change-uid.policy 
	storage-fixed-mount.policy 
	storage-removable-mount-change-uid.policy 
	storage-removable-mount.policy 
Log Message:
2006-03-14  David Zeuthen  <davidz at redhat.com>

        * policy/txt/*: Use new suffix .privilege instead of .policy and
        prefix privilege files with "hal-".

        * tools/hal-storage-mount.c: (invalid_mount_option),
        (permission_denied_privilege), (handle_mount), (main): Update to
        new libpolkit from PolicyKit CVS HEAD. Also read the environment
        variable $HAL_METHOD_INVOKED_BY_PID which is yet to be exported
        by hald and hald-runner

        * tools/hal-system-*: Use new hal- prefix for the privilege name



Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/policy/txt/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	8 Mar 2006 04:14:09 -0000	1.3
+++ Makefile.am	14 Mar 2006 06:43:50 -0000	1.4
@@ -1,15 +1,15 @@
 
 txtpolicydir = $(POLKIT_TXTSRC)
 
-dist_txtpolicy_DATA =                              \
-	storage-fixed-mount.policy                 \
-	storage-fixed-mount-change-uid.policy	   \
-	storage-removable-mount.policy             \
-	storage-removable-mount-change-uid.policy  \
-	power-suspend.policy                       \
-	power-hibernate.policy                     \
-	power-poweroff.policy                      \
-	power-reboot.policy
+dist_txtpolicy_DATA =                                     \
+	hal-storage-fixed-mount.privilege                 \
+	hal-storage-fixed-mount-change-uid.privilege	  \
+	hal-storage-removable-mount.privilege             \
+	hal-storage-removable-mount-change-uid.privilege  \
+	hal-power-suspend.privilege                       \
+	hal-power-hibernate.privilege                     \
+	hal-power-poweroff.privilege                      \
+	hal-power-reboot.privilege
 
 clean-local :
 	rm -f *~

--- NEW FILE: hal-power-hibernate.privilege ---
# who is allowed to suspend the machine to disk

[Policy]
Allow=uid:__all__
Deny=

--- NEW FILE: hal-power-poweroff.privilege ---
# who is allowed to power off the machine

[Policy]
Allow=uid:__all__
Deny=

--- NEW FILE: hal-power-reboot.privilege ---
# who is allowed to reboot the machine

[Policy]
Allow=uid:__all__
Deny=

--- NEW FILE: hal-power-suspend.privilege ---
# who is allowed to suspend the machine to RAM

[Policy]
Allow=uid:__all__
Deny=

--- NEW FILE: hal-storage-fixed-mount-change-uid.privilege ---
# who is allowed to mount volumes from fixed drives and claim file ownership

[Policy]
Allow=
Deny=

--- NEW FILE: hal-storage-fixed-mount.privilege ---
# who is allowed to mount volumes from fixed drives

[Policy]
Allow=
Deny=

--- NEW FILE: hal-storage-removable-mount-change-uid.privilege ---
# who is allowed to mount volumes from removable drives and claim file ownership

[Policy]
Allow=uid:__all__
Deny=

--- NEW FILE: hal-storage-removable-mount.privilege ---
# who is allowed to mount volumes from fixed drives

[Policy]
Allow=uid:__all__
Deny=

--- power-hibernate.policy DELETED ---

--- power-poweroff.policy DELETED ---

--- power-reboot.policy DELETED ---

--- power-suspend.policy DELETED ---

--- storage-fixed-mount-change-uid.policy DELETED ---

--- storage-fixed-mount.policy DELETED ---

--- storage-removable-mount-change-uid.policy DELETED ---

--- storage-removable-mount.policy DELETED ---




More information about the hal-commit mailing list