summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-07-19 15:52:12 +0100
committerSimon McVittie <smcv@debian.org>2017-07-28 11:24:20 +0100
commit13a155c5144342b7e02139fb0696e584cc3ad8cb (patch)
tree70f997b56d0d6d29cb7cfd62a5886a8f05962982 /doc
parentff09f3ba7099aeb3394b04ef5b78928dcd94a71e (diff)
downloaddbus-13a155c5144342b7e02139fb0696e584cc3ad8cb.tar.gz
dbus-13a155c5144342b7e02139fb0696e584cc3ad8cb.tar.bz2
dbus-13a155c5144342b7e02139fb0696e584cc3ad8cb.zip
dbus-daemon(1): Be more truthful about the default policy
We don't allow sending unrequested replies, but the documentation implied that we did. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Thiago Macieira <thiago@kde.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92853
Diffstat (limited to 'doc')
-rw-r--r--doc/dbus-daemon.1.xml.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/dbus-daemon.1.xml.in b/doc/dbus-daemon.1.xml.in
index 447b7fd2..dcaba484 100644
--- a/doc/dbus-daemon.1.xml.in
+++ b/doc/dbus-daemon.1.xml.in
@@ -779,9 +779,13 @@ they are analogous to a firewall in that they allow expected traffic
and prevent unexpected traffic.</para>
-<para>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.</para>
+<para>
+ Currently, the system bus has a default-deny policy for sending method calls
+ and owning bus names, and a default-allow policy for receiving messages,
+ sending signals, and sending a single success or error reply for each
+ method call that does not have the <literal>NO_REPLY</literal> flag.
+ Sending more than the expected number of replies is not allowed.
+</para>
<para>In general, it is best to keep system services as small, targeted programs which