• Colin Walters's avatar
    2004-10-18 Colin Walters <walters@verbum.org> · 736fa825
    Colin Walters authored
    	* bus/selinux.h: Add bus_selinux_enabled.
    	* bus/selinux.c (bus_selinux_enabled): Implement it.
    	* bus/config-parser.c (struct include): Add
    	if_selinux_enabled member.
    	(start_busconfig_child): Parse if_selinux_enabled
    	attribute for include.
    	(bus_config_parser_content): Handle it.
    	* bus/session.conf.in, bus/system.conf.in: Add
    	inclusion of context mapping to default config files;
    	conditional on SELinux being enabled.
    	* doc/busconfig.dtd: Add to if_selinux_enabled to default DTD.
    	* test/data/invalid-config-files/badselinux-1.conf,
    	Test files for bad syntax.
selinux.c 20.6 KB