summaryrefslogtreecommitdiff
path: root/bus/selinux.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2005-07-14 21:45:42 +0000
committerColin Walters <walters@verbum.org>2005-07-14 21:45:42 +0000
commit6c191520c8b33cd7e550a6e3d9d853c25f552f54 (patch)
treee9f849bf2d568ae4cfea76b7065950d0c608bba0 /bus/selinux.h
parent075945f611290f2b9db9a4ed6cf5433f2fd85785 (diff)
downloaddbus-6c191520c8b33cd7e550a6e3d9d853c25f552f54.tar.gz
dbus-6c191520c8b33cd7e550a6e3d9d853c25f552f54.tar.bz2
dbus-6c191520c8b33cd7e550a6e3d9d853c25f552f54.zip
2005-07-14 Colin Walters <walters@verbum.org>
* bus/driver.c (bus_driver_handle_get_connection_unix_security_context): New function. (message_handlers): Add. * bus/selinux.c (bus_selinux_append_context): New function; appends security context to message. * bus/selinux.h: Prototype. * dbus/dbus-protocol.h (DBUS_ERROR_UNIX_SECURITY_CONTEXT_UNKNOWN): New.
Diffstat (limited to 'bus/selinux.h')
-rw-r--r--bus/selinux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/selinux.h b/bus/selinux.h
index 4424fa82..22339bc1 100644
--- a/bus/selinux.h
+++ b/bus/selinux.h
@@ -45,6 +45,8 @@ dbus_bool_t bus_selinux_id_table_insert (DBusHashTable *service_table,
void bus_selinux_id_table_print (DBusHashTable *service_table);
const char* bus_selinux_get_policy_root (void);
+dbus_bool_t bus_selinux_append_context (DBusMessage *message,
+ BusSELinuxID *context);
dbus_bool_t bus_selinux_allows_acquire_service (DBusConnection *connection,
BusSELinuxID *service_sid,