diff options
author | Colin Walters <walters@verbum.org> | 2008-12-10 14:17:02 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2008-12-12 15:18:12 -0500 |
commit | 69ed32cbccbec9d613447cb64e9d7b1ffa11ce3c (patch) | |
tree | ace71537b97f6ac58200d6df3627989fe2136a9e /bus/bus.h | |
parent | 8a80392667d016805056c04613d450b2335429aa (diff) |
Add syslog of security denials and configuration file reloads
We need to start logging denials so that they become more easily trackable
and debuggable.
Diffstat (limited to 'bus/bus.h')
-rw-r--r-- | bus/bus.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -107,6 +107,12 @@ int bus_context_get_max_services_per_connection (BusContext int bus_context_get_max_match_rules_per_connection (BusContext *context); int bus_context_get_max_replies_per_connection (BusContext *context); int bus_context_get_reply_timeout (BusContext *context); +void bus_context_log_info (BusContext *context, + const char *msg, + ...); +void bus_context_log_security (BusContext *context, + const char *msg, + ...); dbus_bool_t bus_context_check_security_policy (BusContext *context, BusTransaction *transaction, DBusConnection *sender, |