From ee78f2800f2642b4fff962b736296d87a7f12a17 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 23 Aug 2004 16:09:54 +0000 Subject: 2004-08-23 Colin Walters * bus/selinux.h: Prototype bus_selinux_get_policy_root. * bus/selinux.c: Create a thread for policy reload notification. (bus_selinux_get_policy_root): Implement. Updated SELinux support from Matthew Rickard * bus/config-parser.c (start_busconfig_child) (bus_config_parser_content): Support SELinux-root relative inclusion. * configure.in : Add -lpthread. * bus/test-main.c (test_pre_hook, test_post_hook): New. (test_post_hook): Move memory checking into here. (test_pre_hook, test_post_hook): Move SELinux checks in here, but conditional on a DBUS_TEST_SELINUX environment variable. Unfortunately we can't run the SELinux checks as a normal user, since they won't have any permissions for /selinux. So this will have to be tested manually for now, until we have virtualization for most of libselinux. --- bus/selinux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bus/selinux.h') diff --git a/bus/selinux.h b/bus/selinux.h index 08ea3a02..20803833 100644 --- a/bus/selinux.h +++ b/bus/selinux.h @@ -42,7 +42,7 @@ dbus_bool_t bus_selinux_id_table_insert (DBusHashTable *service_table, DBusHashTable* bus_selinux_id_table_union (DBusHashTable *base, DBusHashTable *override); void bus_selinux_id_table_print (DBusHashTable *service_table); - +const char* bus_selinux_get_policy_root (void); dbus_bool_t bus_selinux_allows_acquire_service (DBusConnection *connection, -- cgit