summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-16 16:32:10 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-16 16:32:10 +0200
commitc439aabf2e753f265284e7cd662d03b40b06143c (patch)
tree39489de9e645d1579f75ee309b42f05f73406ec9
parentc9789bb2de8272b59ca75f8cad51153d5ca36fd4 (diff)
add polkit policyfile to dist
-rw-r--r--org.freedesktop.RealtimeKit1.policy28
1 files changed, 28 insertions, 0 deletions
diff --git a/org.freedesktop.RealtimeKit1.policy b/org.freedesktop.RealtimeKit1.policy
new file mode 100644
index 0000000..a4cd44f
--- /dev/null
+++ b/org.freedesktop.RealtimeKit1.policy
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+ <vendor>Lennart Poettering</vendor>
+
+ <action id="org.freedesktop.RealtimeKit1.acquire-high-priority">
+ <description>Grant high priority scheduling to a user process</description>
+ <message>Authentication is required to grant an application high priority scheduling</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.RealtimeKit1.acquire-real-time">
+ <description>Grant realtime scheduling to a user process</description>
+ <message>Authentication is required to grant an application realtime scheduling</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+</policyconfig>