summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2007-04-09 15:22:00 -0400
committerDavid Zeuthen <davidz@redhat.com>2007-04-09 15:22:00 -0400
commite4b6fcb25a2a954ca201781246cfae7acfb80214 (patch)
tree52ebce4d3d8ad74dcf4c76b25c6e7d4991e0dfe8 /policy
parentc994c40ad21a3a956690757eb0193e73fdc8bf72 (diff)
take advantage of new parameter API in PolKitAction
These actions currently set parameters hal-storage-mount-[removable|fixed]: - fstype - mount-point - mount-options hal-lock - interface
Diffstat (limited to 'policy')
-rw-r--r--policy/Makefile.am3
-rw-r--r--policy/hal-device-file.policy16
2 files changed, 18 insertions, 1 deletions
diff --git a/policy/Makefile.am b/policy/Makefile.am
index 30497d86..1a2e7bfd 100644
--- a/policy/Makefile.am
+++ b/policy/Makefile.am
@@ -5,7 +5,8 @@ polkit_privilegedir = $(sysconfdir)/PolicyKit/policy
dist_polkit_privilege_DATA = \
hal-storage.policy \
hal-power.policy \
- hal-killswitch.policy
+ hal-killswitch.policy \
+ hal-lock.policy
if HAVE_ACLMGMT
dist_polkit_privilege_DATA += hal-device-file.policy
diff --git a/policy/hal-device-file.policy b/policy/hal-device-file.policy
index 800ef2f2..16e91b30 100644
--- a/policy/hal-device-file.policy
+++ b/policy/hal-device-file.policy
@@ -14,6 +14,8 @@
# to this file are applied instantly.
# Directly access sound devices
+#
+# device-file: special device file
[Action hal-device-file-sound]
AllowRemoteInactive=no
AllowRemoteActive=no
@@ -21,6 +23,8 @@ AllowLocalInactive=no
AllowLocalActive=yes
# Directly access video4linux devices
+#
+# device-file: special device file
[Action hal-device-file-video4linux]
AllowRemoteInactive=no
AllowRemoteActive=no
@@ -28,6 +32,8 @@ AllowLocalInactive=no
AllowLocalActive=yes
# Directly access optical drives
+#
+# device-file: special device file
[Action hal-device-file-cdrom]
AllowRemoteInactive=no
AllowRemoteActive=no
@@ -35,6 +41,8 @@ AllowLocalInactive=yes
AllowLocalActive=yes
# Directly access DVB devices
+#
+# device-file: special device file
[Action hal-device-file-dvb]
AllowRemoteInactive=no
AllowRemoteActive=no
@@ -42,6 +50,8 @@ AllowLocalInactive=no
AllowLocalActive=yes
# Directly access digital cameras
+#
+# device-file: special device file
[Action hal-device-file-camera]
AllowRemoteInactive=no
AllowRemoteActive=no
@@ -49,6 +59,8 @@ AllowLocalInactive=no
AllowLocalActive=yes
# Directly access scanners
+#
+# device-file: special device file
[Action hal-device-file-scanner]
AllowRemoteInactive=no
AllowRemoteActive=no
@@ -56,6 +68,8 @@ AllowLocalInactive=no
AllowLocalActive=yes
# Directly access Firewire IIDC devices
+#
+# device-file: special device file
[Action hal-device-file-ieee1394-iidc]
AllowRemoteInactive=no
AllowRemoteActive=no
@@ -63,6 +77,8 @@ AllowLocalInactive=no
AllowLocalActive=yes
# Directly access Firewire AVC devices
+#
+# device-file: special device file
[Action hal-device-file-ieee1394-avc]
AllowRemoteInactive=no
AllowRemoteActive=no