diff options
author | Havoc Pennington <hp@redhat.com> | 2004-05-29 04:17:17 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2004-05-29 04:17:17 +0000 |
commit | 7c77664c5a38d44b14044286e7e5aa7def858889 (patch) | |
tree | 458bf581ee94e0b62fb80f817544eba723f6da66 /bus/policy.h | |
parent | fbae5baa06819fed71f62ddbba64a64675c2d333 (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/policy.h')
-rw-r--r-- | bus/policy.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bus/policy.h b/bus/policy.h index 7fbb2c6c..f2bac8cc 100644 --- a/bus/policy.h +++ b/bus/policy.h @@ -61,7 +61,8 @@ struct BusPolicyRule char *interface; char *member; char *error; - char *destination; + char *destination; + unsigned int requested_reply : 1; } send; struct @@ -131,6 +132,7 @@ BusClientPolicy* bus_client_policy_ref (BusClientPolicy *policy); void bus_client_policy_unref (BusClientPolicy *policy); dbus_bool_t bus_client_policy_check_can_send (BusClientPolicy *policy, BusRegistry *registry, + dbus_bool_t requested_reply, DBusConnection *receiver, DBusMessage *message); dbus_bool_t bus_client_policy_check_can_receive (BusClientPolicy *policy, |