summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-10 15:20:18 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-14 10:42:55 +0200
commitd10cc97cbb826099530180450052f90b86cdcac8 (patch)
tree62b17c7c5c73eab6b46ca93a5f05907d695fb16b /policy
parentc842f1a53ec5f1903bd911e0eee2383b0fc5503a (diff)
Remove QoS interface
It was added for some workloads, but ill-suited and never really got traction. Using cgroups to manage the resources of particular services (using systemd), or something separate like rtkit is a better bet.
Diffstat (limited to 'policy')
-rw-r--r--policy/Makefile.am18
-rw-r--r--policy/org.freedesktop.upower.qos.policy.in59
2 files changed, 0 insertions, 77 deletions
diff --git a/policy/Makefile.am b/policy/Makefile.am
deleted file mode 100644
index ef39939..0000000
--- a/policy/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-polkit_policydir = $(datadir)/polkit-1/actions
-polkit_policy_DATA = \
- org.freedesktop.upower.qos.policy
-
-# You will need a recent intltool or the patch from this bug
-# http://bugzilla.gnome.org/show_bug.cgi?id=462312
-@INTLTOOL_POLICY_RULE@
-
-EXTRA_DIST = \
- org.freedesktop.upower.qos.policy.in
-
-DISTCLEANFILES = \
- org.freedesktop.upower.qos.policy
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/policy/org.freedesktop.upower.qos.policy.in b/policy/org.freedesktop.upower.qos.policy.in
deleted file mode 100644
index fdc7b90..0000000
--- a/policy/org.freedesktop.upower.qos.policy.in
+++ /dev/null
@@ -1,59 +0,0 @@
-<?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.0/policyconfig.dtd">
-
-<!--
-Policy definitions for UPower
-
-Copyright (c) 2008 David Zeuthen <david@fubar.dk>
-Copyright (c) 2008-2010 Richard Hughes <richard@hughsie.com>
-
-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>
- <vendor>The UPower Project</vendor>
- <vendor_url>http://upower.freedesktop.org/</vendor_url>
- <icon_name>system-suspend</icon_name>
-
- <action id="org.freedesktop.upower.qos.request-latency">
- <_description>Set the required latency of an application</_description>
- <_message>Authentication is required to set the required latency of an application</_message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>yes</allow_active>
- </defaults>
- </action>
-
- <action id="org.freedesktop.upower.qos.request-latency-persistent">
- <_description>Set a persistent latency setting</_description>
- <_message>Authentication is required to set a persistent latency setting</_message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>yes</allow_active>
- </defaults>
- </action>
-
- <action id="org.freedesktop.upower.qos.set-minimum-latency">
- <_description>Set administrator settings for latency control</_description>
- <_message>Authentication is required to set administrator settings for latency control</_message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin</allow_active>
- </defaults>
- </action>
-
- <action id="org.freedesktop.upower.qos.cancel-request">
- <_description>Cancel a latency request</_description>
- <_message>Authentication is required to cancel a latency request</_message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin</allow_active>
- </defaults>
- </action>
-
-</policyconfig>