dbus/bus
Simon McVittie ea0275aaea bus_config_parser_check_doctype: Remove, unused
We have never checked the <!DOCTYPE> of busconfig XML since the libxml
parser was removed in 2013, and the libxml parser was broken before
that anyway. The recommended Expat parser (our only parser since 2013)
does not appear to have ever validated this, so now does not seem like
the time to start. Just ignore the <!DOCTYPE> if there is one.

(We never validated this particularly strictly anyway;
<!DOCTYPE busconfig SYSTEM "http://example.com/bees"> would have been
treated as perfectly valid.)

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107739
2018-08-30 17:39:38 +01:00
..
legacy-config On Windows, load local configuration relative to bus setup 2015-10-02 11:24:05 +01:00
systemd-user bus: Notify systemd when we are ready 2018-03-02 14:48:49 +00:00
sysusers.d systemd: add sysusers.d snippet for booting up with unpopulated /etc 2017-02-13 14:49:52 +00:00
tmpfiles.d tmpfiles: Add a note that one line is not needed with newer systemd 2018-01-29 11:59:40 +00:00
.gitignore Update .gitignore files 2015-02-03 15:40:01 +00:00
activation-exit-codes.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation-helper-bin.c launch-helper: fix error code parsing 2013-10-09 10:51:39 +01:00
activation-helper.c activation-helper: Rename bus_config_parser_get_service_dirs 2017-02-21 13:23:37 +00:00
activation-helper.h Add missing include 2016-02-11 20:31:31 +00:00
activation.c Add and use _dbus_list_clear_full 2018-08-02 15:26:27 +01:00
activation.h Mediate auto-activation attempts through AppArmor 2016-11-28 12:11:45 +00:00
apparmor.c Mediate auto-activation attempts through AppArmor 2016-11-28 12:11:45 +00:00
apparmor.h Do not auto-activate services if we could not send a message 2016-11-28 12:11:41 +00:00
audit.c _dbus_change_to_daemon_user (audit code path): set DBusError correctly 2016-08-12 17:34:29 +01:00
audit.h audit: use DBUS_SYSTEM_LOG_WARNING if we cannot open the audit fd 2015-08-06 17:12:37 +01:00
bus.c bus_context_get_policy: Remove, unused 2018-08-30 17:39:34 +01:00
bus.h bus_context_get_policy: Remove, unused 2018-08-30 17:39:34 +01:00
config-loader-expat.c config-loader-expat: Tell Expat not to defend against hash collisions 2017-07-28 11:17:04 +01:00
config-parser-common.c Move defaults for some switches into a default case 2017-01-17 17:20:53 +00:00
config-parser-common.h Add apparmor element support to bus config parsing 2015-02-18 17:04:00 +00:00
config-parser-trivial.c bus_config_parser_check_doctype: Remove, unused 2018-08-30 17:39:38 +01:00
config-parser-trivial.h bus_config_parser_check_doctype: Remove, unused 2018-08-30 17:39:38 +01:00
config-parser.c bus_config_parser_check_doctype: Remove, unused 2018-08-30 17:39:38 +01:00
config-parser.h bus_config_parser_check_doctype: Remove, unused 2018-08-30 17:39:38 +01:00
connection.c bus_connections_get_context: Remove, unused 2018-08-30 17:39:33 +01:00
connection.h bus_connections_get_context: Remove, unused 2018-08-30 17:39:33 +01:00
containers.c containers: Factor out connection_get_instance and make it NULL-safe 2018-06-21 17:42:16 +01:00
containers.h containers: Add a method to ask to be sent the connection instance header 2018-02-16 15:27:51 +00:00
dbus.service.in bus: Notify systemd when we are ready 2018-03-02 14:48:49 +00:00
dbus.socket.in systemd: enable the dbus service unconditionally 2010-09-06 03:21:17 +02:00
desktop-file.c Remove commented-out printf debugging 2017-11-15 12:07:22 +00:00
desktop-file.h Mediate auto-activation attempts through AppArmor 2016-11-28 12:11:45 +00:00
dir-watch-default.c Fix warnings on Windows builds. 2010-04-14 08:26:40 +02:00
dir-watch-inotify.c Remove trailing newlines from _dbus_warn, _dbus_warn_check_failed 2016-09-30 19:36:51 +01:00
dir-watch-kqueue.c Remove trailing newlines from _dbus_warn, _dbus_warn_check_failed 2016-09-30 19:36:51 +01:00
dir-watch.h Clean up inotify watch handling 2010-02-01 16:22:56 -05:00
dispatch.c dispatch test: Simplify OOM testing 2018-08-02 17:17:07 +01:00
dispatch.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
driver.c bus_service_list_queued_owners: Don't return a DBusError 2018-06-21 17:42:12 +01:00
driver.h bus driver: Use DBusCredentials to fill credentials structure 2018-03-02 14:52:20 +00:00
example-session-disable-stats.conf.in config: add examples to show how to enable/disable the Stats interface 2014-10-01 16:38:40 +01:00
example-system-enable-stats.conf.in config: add examples to show how to enable/disable the Stats interface 2014-10-01 16:38:40 +01:00
expirelist.c Prefer to use _dbus_test_fatal() for assertion failures in tests 2017-11-15 12:12:15 +00:00
expirelist.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
main.c bus: Free address (from --address) when we have finished using it 2018-08-23 18:23:21 +01:00
Makefile.am bus/containers: Create a DBusServer and add it to the main loop 2017-12-12 16:22:16 +00:00
org.freedesktop.dbus-session.plist.in 10.4 is old so set more sensible launchd defaults. 2010-12-09 08:20:07 +01:00
policy.c policy: Add max_fds, min_fds qualifiers for send, receive rules 2017-07-28 11:36:51 +01:00
policy.h policy: Add max_fds, min_fds qualifiers for send, receive rules 2017-07-28 11:36:51 +01:00
selinux.c Return the dbus-daemon SELinux context when asking about org.freedesktop.DBus 2017-06-12 11:56:13 +01:00
selinux.h Return the dbus-daemon SELinux context when asking about org.freedesktop.DBus 2017-06-12 11:56:13 +01:00
services.c bus_service_list_queued_owners: Don't return a DBusError 2018-06-21 17:42:12 +01:00
services.h bus_service_list_queued_owners: Don't return a DBusError 2018-06-21 17:42:12 +01:00
session.conf.in bus: Add (unused) settings for resource limits for containers 2017-12-12 16:22:35 +00:00
signals.c bus: Silence most log messages when testing OOM handling 2017-11-15 12:12:23 +00:00
signals.h Mediation of processes eavesdropping 2015-02-18 18:59:46 +00:00
stats.c driver: Share bus_driver_get_conn_helper with other modules 2017-06-29 15:42:20 +01:00
stats.h Implement GetAllMatchRules on the Stats interface 2014-09-25 12:59:50 +01:00
system.conf.in system.conf: Allow creating containers on the system bus 2017-12-12 16:22:35 +00:00
test-launch-helper.c test-bus*: Output TAP directly 2017-11-15 12:12:43 +00:00
test-main.c test-bus*: Output TAP directly 2017-11-15 12:12:43 +00:00
test-system.c test-bus*: Output TAP directly 2017-11-15 12:12:43 +00:00
test.c Remove trailing newlines from _dbus_warn, _dbus_warn_check_failed 2016-09-30 19:36:51 +01:00
test.h bus_connections_foreach, bus_connections_foreach_active: Remove 2018-08-30 17:39:31 +01:00
utils.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
utils.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00