aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Walsh <dwalsh@redhat.com>2019-02-07 10:18:44 +0100
committerNicolas Iooss <nicolas.iooss@m4x.org>2019-02-10 17:04:19 +0100
commite103c5b2ee8d4ff46f05a97ae1b5e03ac1637043 (patch)
tree9707a09e0a3f0a4b5f8f0cf08fbf7a3876887752
parent3cad47430386b244e6e069ac8a3eb62548e02935 (diff)
downloadandroid_external_selinux-e103c5b2ee8d4ff46f05a97ae1b5e03ac1637043.tar.gz
android_external_selinux-e103c5b2ee8d4ff46f05a97ae1b5e03ac1637043.tar.bz2
android_external_selinux-e103c5b2ee8d4ff46f05a97ae1b5e03ac1637043.zip
dbus: Fix name of polkit function
Add missing action org.selinux.change_default_mode for change_default_mode() and remove unused action org.selinux.change_policy_type. Fixes: e8718ef51463 ("Make sure we do the polkit check on all dbus interfaces.") Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
-rw-r--r--dbus/org.selinux.policy6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/org.selinux.policy b/dbus/org.selinux.policy
index 01266102..9772127b 100644
--- a/dbus/org.selinux.policy
+++ b/dbus/org.selinux.policy
@@ -70,9 +70,9 @@
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
- <action id="org.selinux.change_policy_type">
- <description>SELinux write access</description>
- <message>System policy prevents change_policy_type access to SELinux</message>
+ <action id="org.selinux.change_default_mode">
+ <description>Change SELinux default enforcing mode</description>
+ <message>System policy prevents change_default_policy access to SELinux</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>