diff options
author | Colin Walters <walters@verbum.org> | 2004-10-18 04:04:12 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2004-10-18 04:04:12 +0000 |
commit | 736fa825e15c8d72eac85080e6cdf028c2f8df43 (patch) | |
tree | 6775c8bd1b8170ff3312ec055d369fb7d66997ba /doc/busconfig.dtd | |
parent | ca293924a0320277919c881d36bccdae5b8a32e7 (diff) |
2004-10-18 Colin Walters <walters@verbum.org>
* 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/data/invalid-config-files/badselinux-2.conf:
Test files for bad syntax.
Diffstat (limited to 'doc/busconfig.dtd')
-rw-r--r-- | doc/busconfig.dtd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/busconfig.dtd b/doc/busconfig.dtd index 2e8f577f..7edc1db3 100644 --- a/doc/busconfig.dtd +++ b/doc/busconfig.dtd @@ -23,6 +23,7 @@ <!ELEMENT include (#PCDATA)> <!ATTLIST include ignore_missing (yes|no) "no" + if_selinux_enabled (yes|no) "no" selinux_root_relative (yes|no) "no"> <!ELEMENT policy (allow|deny)*> |