dbus: Enable AppArmor mediation support

This commit is contained in:
Janne Heß
2020-11-18 10:10:25 +01:00
parent e949d75899
commit 060d20de24
5 changed files with 20 additions and 5 deletions
@@ -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>