From 7f0990abc74a3c6aa76211a064b57f081690d340 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 8 Dec 2008 20:25:02 -0500 Subject: [PATCH] Bug 18229: Update manpage with better advice See https://bugs.freedesktop.org/show_bug.cgi?id=18229 --- bus/dbus-daemon.1.in | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/bus/dbus-daemon.1.in b/bus/dbus-daemon.1.in index 7666f18..94f073b 100644 --- a/bus/dbus-daemon.1.in +++ b/bus/dbus-daemon.1.in @@ -417,6 +417,18 @@ they are analogous to a firewall in that they allow expected traffic and prevent unexpected traffic. .PP +Currently, the system bus has a default-deny policy for sending method calls +and owning bus names. Everything else, in particular reply messages, receive +checks, and signals has a default allow policy. + +.PP +In general, it is best to keep system services as small, targeted programs which +run in their own process and provide a single bus name. Then, all that is needed +is an rule for the "own" permission to let the process claim the bus +name, and a "send_destination" rule to allow traffic from some or all uids to +your service. + +.PP The element has one of three attributes: .nf context="(default|mandatory)" @@ -481,9 +493,7 @@ The possible attributes of these elements are: .PP Examples: .nf - - - + -- 2.7.4