Skip to contentSkip to conversation

add D-BUS service context mapping

PATCH New Colin Walters 1 participant 1 message Oct 17, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add D-BUS service context mapping

Hi,

The attached patch adds an empty D-BUS service mapping to the policy. I'll be going over the current policy for FC4 and assigning contexts to the current D-BUS services we are using. Right now they're all just falling back to the bus context.

I've also sent a patch to the D-BUS list to make it use this by default.

appconfig/dbus_contexts new file +6 -0
@@ -0,0 +1,6 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+  <selinux>
+  </selinux>
+</busconfig>
targeted/appconfig/dbus_contexts new file +6 -0
@@ -0,0 +1,6 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+  <selinux>
+  </selinux>
+</busconfig>