summaryrefslogtreecommitdiffstats
path: root/bus/bus.c
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/bus.c
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/bus.c')
-rw-r--r--bus/bus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bus/bus.c b/bus/bus.c
index 79611548..f3ef761b 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -1,7 +1,7 @@
/* -*- mode: C; c-file-style: "gnu" -*- */
/* bus.c message bus context object
*
- * Copyright (C) 2003 Red Hat, Inc.
+ * Copyright (C) 2003, 2004 Red Hat, Inc.
*
* Licensed under the Academic Free License version 2.0
*
@@ -1189,7 +1189,9 @@ bus_context_check_security_policy (BusContext *context,
if (sender_policy &&
!bus_client_policy_check_can_send (sender_policy,
- context->registry, proposed_recipient,
+ context->registry,
+ requested_reply,
+ proposed_recipient,
message))
{
const char *dest = dbus_message_get_destination (message);