hal: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Tue Apr 24 12:08:12 PDT 2007
policy/hal-lock.policy | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+)
New commits:
diff-tree 5757293a4d44b1696e4c935ab346546ce2673d73 (from b44cc7ffc6a8cf38c5e80d5f00885a4aae3876be)
Author: David Zeuthen <davidz at redhat.com>
Date: Tue Apr 24 15:08:04 2007 -0400
forgot to add hal-lock.policy
diff --git a/policy/hal-lock.policy b/policy/hal-lock.policy
new file mode 100644
index 0000000..dc181b2
--- /dev/null
+++ b/policy/hal-lock.policy
@@ -0,0 +1,38 @@
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+
+<!--
+Policy definitions for HAL's locking mechanism
+
+Copyright (c) 2007 David Zeuthen <david at fubar.dk>
+
+HAL is licensed to you under your choice of the the Academic Free
+License Version 2.1, or the GNU General Public License version 2. Some
+individual source files may be under the GPL only. See COPYING for
+details.
+
+NOTE: If you make changes to this file, make sure to validate the file
+using the polkit-policy-file-validate(1) tool. Changes made to this
+file are instantly applied.
+-->
+
+<policyconfig>
+ <group id="hal-lock">
+ <description>Locking of devices</description>
+ <description_short>Locking</description_short>
+
+ <policy id="hal-lock">
+ <description>Acquire locks on devices</description>
+ <missing>System policy prevents locking a device.</missing>
+ <apply_to_all_mnemonic>Apply to all devices</apply_to_all_mnemonic>
+ <defaults>
+ <allow_remote_inactive>no</allow_remote_inactive>
+ <allow_remote_active>no</allow_remote_active>
+ <allow_local_inactive>no</allow_local_inactive>
+ <allow_local_active>yes</allow_local_active>
+ </defaults>
+ </policy>
+
+ </group>
+</policyconfig>
More information about the hal-commit
mailing list