aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/dbus/make-system-conf.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/dbus/make-system-conf.xsl')
-rw-r--r--pkgs/development/libraries/dbus/make-system-conf.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/dbus/make-system-conf.xsl b/pkgs/development/libraries/dbus/make-system-conf.xsl
index dd644b4bce7c..06233e764e16 100644
--- a/pkgs/development/libraries/dbus/make-system-conf.xsl
+++ b/pkgs/development/libraries/dbus/make-system-conf.xsl
@@ -16,11 +16,15 @@
<xsl:param name="serviceDirectories" />
<xsl:param name="suidHelper" />
+ <xsl:param name="apparmor" />
<xsl:template match="/busconfig">
<busconfig>
<xsl:copy-of select="child::node()[name() != 'include' and name() != 'standard_system_servicedirs' and name() != 'servicehelper' and name() != 'servicedir' and name() != 'includedir']" />
+ <!-- configure AppArmor -->
+ <apparmor mode="{$apparmor}"/>
+
<!-- set suid helper -->
<servicehelper><xsl:value-of select="$suidHelper" /></servicehelper>