summaryrefslogtreecommitdiffstats
path: root/bus/dbus-daemon-1.1.in
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-05-29 04:17:17 +0000
committerHavoc Pennington <hp@redhat.com>2004-05-29 04:17:17 +0000
commit7c77664c5a38d44b14044286e7e5aa7def858889 (patch)
tree458bf581ee94e0b62fb80f817544eba723f6da66 /bus/dbus-daemon-1.1.in
parentfbae5baa06819fed71f62ddbba64a64675c2d333 (diff)
2004-05-29 Havoc Pennington <hp@redhat.com>
* bus/config-parser.c (process_test_valid_subdir): temporarily stop testing config parser OOM handling, since expat has issues http://freedesktop.org/pipermail/dbus/2004-May/001153.html * bus/dbus-daemon-1.1.in: change requested_reply to send_requested_reply/receive_requested_reply so we can send the replies, not just receive them. * bus/config-parser.c: parse the new send_requested_reply/receive_requested_reply * bus/policy.c (bus_client_policy_check_can_send): add requested_reply argument and use it * bus/bus.c (bus_context_check_security_policy): pass through requested_reply status to message send check * bus/system.conf.in: adapt to requested_reply change
Diffstat (limited to 'bus/dbus-daemon-1.1.in')
-rw-r--r--bus/dbus-daemon-1.1.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/bus/dbus-daemon-1.1.in b/bus/dbus-daemon-1.1.in
index 7e186e51..390d145c 100644
--- a/bus/dbus-daemon-1.1.in
+++ b/bus/dbus-daemon-1.1.in
@@ -357,7 +357,9 @@ The possible attributes of these elements are:
receive_type="method_call" | "method_return" | "signal" | "error"
receive_path="/path/name"
- requested_reply="true" | "false"
+ send_requested_reply="true" | "false"
+ receive_requested_reply="true" | "false"
+
eavesdrop="true" | "false"
own="servicename"
@@ -411,22 +413,22 @@ receive rules (with receive_* attributes).
.PP
-The requested_reply attribute works similarly to the eavesdrop
+The [send|receive]_requested_reply attribute works similarly to the eavesdrop
attribute. It controls whether the <deny> or <allow> matches a reply
that is expected (corresponds to a previous method call message).
This attribute only makes sense for reply messages (errors and method
returns), and is ignored for other message types.
.PP
-For <allow>, requested_reply="true" is the default and indicates that
+For <allow>, [send|receive]_requested_reply="true" is the default and indicates that
only requested replies are allowed by the
-rule. requested_reply="false" means that the rule allows any reply
+rule. [send|receive]_requested_reply="false" means that the rule allows any reply
even if unexpected.
.PP
-For <deny>, requested_reply="false" is the default but indicates that
+For <deny>, [send|receive]_requested_reply="false" is the default but indicates that
the rule matches only when the reply was not
-requested. requested_reply="true" indicates that the rule applies
+requested. [send|receive]_requested_reply="true" indicates that the rule applies
always, regardless of pending reply state.
.PP