spec: explicitly mention filtering messages with no INTERFACE
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 16 Sep 2013 13:17:25 +0000 (14:17 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 27 Nov 2013 15:36:07 +0000 (15:36 +0000)
This is an important security measure. Without it, the system bus
would not deliver its intended security properties. The actual
implementation has always behaved like this, I think.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68597
Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
doc/dbus-specification.xml

index 865a8bf..629ab10 100644 (file)
           message as though it had an arbitrary one of those interfaces.
         </para>
         <para>
+          In some situations (such as the well-known system bus), messages
+          are filtered through an access-control list external to the
+          remote object implementation. If that filter rejects certain
+          messages by matching their interface, or accepts only messages
+          to specific interfaces, it must also reject messages that have no
+          <literal>INTERFACE</literal>: otherwise, malicious
+          applications could use this to bypass the filter.
+        </para>
+        <para>
           Method call messages also include a <literal>PATH</literal> field
           indicating the object to invoke the method on. If the call is passing
           through a message bus, the message will also have a