dbus/dbus/bus

Colin Walters walters at verbum.org
Mon Aug 23 09:09:54 PDT 2004


CVS commit by walters: 

2004-08-23  Colin Walters  <walters at redhat.com>

	* 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 <mjricka at epoch.ncsc.mil>
	
	* bus/config-parser.c (start_busconfig_child)
	(bus_config_parser_content): Support SELinux-root relative
	inclusion.

	* configure.in <HAVE_SELINUX>: 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.


  M +41 -5     dbus/dbus/bus/config-parser.c   1.35
  M +155 -9    dbus/dbus/bus/selinux.c   1.5
  M +1 -1      dbus/dbus/bus/selinux.h   1.3
  M +35 -19    dbus/dbus/bus/test-main.c   1.19





More information about the dbus-commit mailing list