diff options
author | David Zeuthen <david@fubar.dk> | 2006-06-05 23:56:00 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2006-06-05 23:56:00 +0000 |
commit | fee9c14d1d1072e50d7c9794865aa3af490ddd8a (patch) | |
tree | d00b88ad8236fe44bd27a2e8f0f7486542d07cc5 /policy | |
parent | 9ff1adf0f64d67de7926ec770302c1f398955baa (diff) |
Export a new environment variable with the unique name for callers system
bus connection called HAL_METHOD_INVOKED_BY_SYSTEMBUS_CONNECTION_NAME
Move these to privileges instead
Moved from policy/txt/*
Fix up subdirs
Adjust for new dirs and remove comment about libhal-policy. Require
PolicyKit >= 0.2 (which is polkit CVS). Don't read weird options from
the polkit pc file.
Update to new PolicyKit API and DTRT so things work using hald/run-hald.sh
Diffstat (limited to 'policy')
-rw-r--r-- | policy/Makefile.am | 2 | ||||
-rw-r--r-- | policy/txt/Makefile.am | 15 | ||||
-rw-r--r-- | policy/txt/hal-power-hibernate.privilege | 5 | ||||
-rw-r--r-- | policy/txt/hal-power-poweroff.privilege | 5 | ||||
-rw-r--r-- | policy/txt/hal-power-reboot.privilege | 5 | ||||
-rw-r--r-- | policy/txt/hal-power-suspend.privilege | 5 | ||||
-rw-r--r-- | policy/txt/hal-storage-fixed-mount-change-uid.privilege | 5 | ||||
-rw-r--r-- | policy/txt/hal-storage-fixed-mount.privilege | 5 | ||||
-rw-r--r-- | policy/txt/hal-storage-removable-mount-change-uid.privilege | 5 | ||||
-rw-r--r-- | policy/txt/hal-storage-removable-mount.privilege | 5 |
10 files changed, 0 insertions, 57 deletions
diff --git a/policy/Makefile.am b/policy/Makefile.am deleted file mode 100644 index 1b3fc39a..00000000 --- a/policy/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ - -SUBDIRS = txt diff --git a/policy/txt/Makefile.am b/policy/txt/Makefile.am deleted file mode 100644 index e7195c69..00000000 --- a/policy/txt/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ - -txtpolicydir = $(POLKIT_TXTSRC) - -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 *~ diff --git a/policy/txt/hal-power-hibernate.privilege b/policy/txt/hal-power-hibernate.privilege deleted file mode 100644 index 2bc9b5bd..00000000 --- a/policy/txt/hal-power-hibernate.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to suspend the machine to disk - -[Policy] -Allow=uid:__all__ -Deny= diff --git a/policy/txt/hal-power-poweroff.privilege b/policy/txt/hal-power-poweroff.privilege deleted file mode 100644 index d7e6c0e6..00000000 --- a/policy/txt/hal-power-poweroff.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to power off the machine - -[Policy] -Allow=uid:__all__ -Deny= diff --git a/policy/txt/hal-power-reboot.privilege b/policy/txt/hal-power-reboot.privilege deleted file mode 100644 index 2b2c3342..00000000 --- a/policy/txt/hal-power-reboot.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to reboot the machine - -[Policy] -Allow=uid:__all__ -Deny= diff --git a/policy/txt/hal-power-suspend.privilege b/policy/txt/hal-power-suspend.privilege deleted file mode 100644 index 7577ee19..00000000 --- a/policy/txt/hal-power-suspend.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to suspend the machine to RAM - -[Policy] -Allow=uid:__all__ -Deny= diff --git a/policy/txt/hal-storage-fixed-mount-change-uid.privilege b/policy/txt/hal-storage-fixed-mount-change-uid.privilege deleted file mode 100644 index 314e4ed1..00000000 --- a/policy/txt/hal-storage-fixed-mount-change-uid.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to mount volumes from fixed drives and claim file ownership - -[Policy] -Allow= -Deny= diff --git a/policy/txt/hal-storage-fixed-mount.privilege b/policy/txt/hal-storage-fixed-mount.privilege deleted file mode 100644 index 66b0f599..00000000 --- a/policy/txt/hal-storage-fixed-mount.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to mount volumes from fixed drives - -[Policy] -Allow= -Deny= diff --git a/policy/txt/hal-storage-removable-mount-change-uid.privilege b/policy/txt/hal-storage-removable-mount-change-uid.privilege deleted file mode 100644 index e3e013c2..00000000 --- a/policy/txt/hal-storage-removable-mount-change-uid.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to mount volumes from removable drives and claim file ownership - -[Policy] -Allow=uid:__all__ -Deny= diff --git a/policy/txt/hal-storage-removable-mount.privilege b/policy/txt/hal-storage-removable-mount.privilege deleted file mode 100644 index aec7f472..00000000 --- a/policy/txt/hal-storage-removable-mount.privilege +++ /dev/null @@ -1,5 +0,0 @@ -# who is allowed to mount volumes from fixed drives - -[Policy] -Allow=uid:__all__ -Deny= |