dbus/bus
Colin Walters cdac3e058b 2004-11-07 Colin Walters <walters@verbum.org>
* bus/bus.c (load_config): Break into three
	separate functions: process_config_first_time_only,
	process_config_every_time, and process_config_postinit.
	(process_config_every_time): Move call of
	bus_registry_set_service_context_table into
	process_config_postinit.
	(process_config_postinit): New function, does
	any processing that needs to happen late
	in initialization (and also on reload).
	(bus_context_new): Instead of calling load_config,
	open config parser here and call process_config_first_time_only
	and process_config_every_time directly.  Later, after
	we have forked but before changing UID,
	invoke bus_selinux_full_init, and then call
	process_config_postinit.
	(bus_context_reload_config): As in bus_context_new,
	load parse file inside here, and call process_config_every_time
	and process_config_postinit.

	* bus/services.h, bus/services.c
	(bus_registry_set_service_context_table): Rename
	from bus_registry_set_sid_table.  Take string hash from config
	parser, and convert them here into SIDs.

	* bus/config-parser.c (struct BusConfigParser): Have
	config parser only store a mapping of service->context
	string.
	(merge_service_context_hash): New function.
	(merge_included): Merge context string hashes instead
	of using bus_selinux_id_table_union.
	(bus_config_parser_new): Don't use bus_selinux_id_table_new;
	simply create a new string hash.
	(bus_config_parser_unref): Unref it.
	(start_selinux_child): Simply insert strings into hash,
	don't call bus_selinux_id_table_copy_over.

	* bus/selinux.h, bus/selinux.c (bus_selinux_id_table_union)
	(bus_selinux_id_table_copy_over): Delete.
2004-11-07 17:05:19 +00:00
..
.cvsignore 2004-10-29 Colin Walters <walters@redhat.com> 2004-10-29 19:20:02 +00:00
activation.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
activation.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
bus.c 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
bus.h 2004-09-12 David Zeuthen <david@fubar.dk> 2004-09-12 10:23:42 +00:00
config-loader-expat.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
config-loader-libxml.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
config-parser.c 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
config-parser.h 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
connection.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
connection.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
dbus-daemon-1.1.in * bus/config-parser.c (set_limit): 2004-08-25 08:03:12 +00:00
desktop-file.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
desktop-file.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
dispatch.c * doc/dbus-specification.xml: document ServiceOwnerChanged signal. 2004-09-24 10:43:36 +00:00
dispatch.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
driver.c * doc/dbus-specification.xml: document ServiceOwnerChanged signal. 2004-09-24 10:43:36 +00:00
driver.h * doc/dbus-specification.xml: document ServiceOwnerChanged signal. 2004-09-24 10:43:36 +00:00
expirelist.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
expirelist.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
main.c 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
Makefile.am 2004-10-29 Colin Walters <walters@redhat.com> 2004-10-29 19:17:57 +00:00
messagebus.in 2003-07-28 Havoc Pennington <hp@redhat.com> 2003-07-28 14:04:51 +00:00
policy.c Console user security policy 2004-08-25 22:11:49 +00:00
policy.h Console user security policy 2004-08-25 22:11:49 +00:00
rc.messagebus.in 2004-10-29 Colin Walters <walters@redhat.com> 2004-10-29 19:17:57 +00:00
selinux.c 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
selinux.h 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
services.c 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
services.h 2004-11-07 Colin Walters <walters@verbum.org> 2004-11-07 17:05:19 +00:00
session.conf.in John (J5) Palmieri <johnp@redhat.com> 2004-10-25 18:48:58 +00:00
signals.c * bus/signals.c (bus_match_rule_parse): validate the components of 2004-09-27 10:01:18 +00:00
signals.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
system.conf.in 2004-10-18 Colin Walters <walters@verbum.org> 2004-10-18 04:04:12 +00:00
test-main.c 2004-11-03 Colin Walters <walters@verbum.org> 2004-11-03 16:38:35 +00:00
test.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
test.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
utils.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
utils.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00