diff options
author | Colin Walters <walters@verbum.org> | 2008-12-16 11:57:27 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2008-12-16 12:20:43 -0500 |
commit | 427ff01f9d656700b370bb905fe738e76602a842 (patch) | |
tree | 502e841d20e15d9f090b2df625816463cdf6fb28 /bus/policy.h | |
parent | 8cbe86da9089901c574387e4032f0858e8249c79 (diff) |
Add optional logging on allow rules
This lets us have a backwards compatibility allow rule but still easily
see when that rule is being used.
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 91fde99f..a75e0dd9 100644 --- a/bus/policy.h +++ b/bus/policy.h @@ -65,6 +65,7 @@ struct BusPolicyRule char *destination; unsigned int eavesdrop : 1; unsigned int requested_reply : 1; + unsigned int log : 1; } send; struct @@ -142,7 +143,8 @@ dbus_bool_t bus_client_policy_check_can_send (BusClientPolicy *policy, dbus_bool_t requested_reply, DBusConnection *receiver, DBusMessage *message, - dbus_int32_t *toggles); + dbus_int32_t *toggles, + dbus_bool_t *log); dbus_bool_t bus_client_policy_check_can_receive (BusClientPolicy *policy, BusRegistry *registry, dbus_bool_t requested_reply, |