summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2007-05-23 19:45:56 +0000
committerHavoc Pennington <hp@redhat.com>2007-05-23 19:45:56 +0000
commitae68ad2ab922b5837542d150e94bbbdb0d26da90 (patch)
tree7caa66866791234c15fa8c1dba3060ffd16d2004 /bus
parent73ed217efd929f4a12a5d99059678f1c0c517dfb (diff)
2007-05-23 Havoc Pennington <hp@redhat.com>
* bus/Makefile.am (install-data-hook): create session.d * bus/session.conf.in: add session.d for the session bus, so security policy can be extended
Diffstat (limited to 'bus')
-rw-r--r--bus/Makefile.am1
-rw-r--r--bus/session.conf.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/bus/Makefile.am b/bus/Makefile.am
index 391ea509..0ba5f341 100644
--- a/bus/Makefile.am
+++ b/bus/Makefile.am
@@ -113,6 +113,7 @@ install-data-hook:
$(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
$(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus
$(mkinstalldirs) $(DESTDIR)$(configdir)/system.d
+ $(mkinstalldirs) $(DESTDIR)$(configdir)/session.d
$(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/services
#### Init scripts fun
diff --git a/bus/session.conf.in b/bus/session.conf.in
index 58c6ba1c..b2dee5b3 100644
--- a/bus/session.conf.in
+++ b/bus/session.conf.in
@@ -21,6 +21,10 @@
<allow own="*"/>
</policy>
+ <!-- Config files are placed here that among other things,
+ further restrict the above policy for specific services. -->
+ <includedir>session.d</includedir>
+
<!-- This is included last so local configuration can override what's
in this standard file -->
<include ignore_missing="yes">session-local.conf</include>