summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-message.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2004-11-09 06:11:33 +0000
committerColin Walters <walters@verbum.org>2004-11-09 06:11:33 +0000
commit935a41a04c3f638134fa905503fc41ddbd18902f (patch)
tree0f6dee53c28bba5a8ce6658b634c66ba1cc5abda /dbus/dbus-message.h
parent2f5e949851f7704b296f55ce1d1fcc4480176107 (diff)
2004-11-09 Colin Walters <walters@verbum.org>
* dbus/dbus-string.c (_dbus_string_get_length): New function, writes DBusString to C buffer. * dbus/dbus-string.h: Prototype it. * dbus/dbus-message.c (dbus_message_type_to_string): New function, converts message type into C string. * dbus/dbus-message.h: Prototype it. * bus/selinux.c (bus_selinux_check): Take source pid, target pid, and audit data. Pass audit data to avc_has_perm. (log_audit_callback): New function, appends extra audit information. (bus_selinux_allows_acquire_service): Also take service name, add it to audit data. (bus_selinux_allows_send): Also take message type, interface, method member, error name, and destination, and add them to audit data. (log_cb): Initialize func_audit. * bus/selinux.h (bus_selinux_allows_acquire_service) (bus_selinux_allows_send): Update prototypes * bus/services.c (bus_registry_acquire_service): Pass service name to bus_selinux_allows_acquire_service. * bus/bus.c (bus_context_check_security_policy): Pass additional audit data. Move assignment of dest to its own line.
Diffstat (limited to 'dbus/dbus-message.h')
-rw-r--r--dbus/dbus-message.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-message.h b/dbus/dbus-message.h
index 50ec22c1..e1894c72 100644
--- a/dbus/dbus-message.h
+++ b/dbus/dbus-message.h
@@ -295,6 +295,7 @@ void* dbus_message_get_data (DBusMessage *message,
dbus_int32_t slot);
int dbus_message_type_from_string (const char *type_str);
+const char * dbus_message_type_to_string (int type);
DBUS_END_DECLS