From 70820f21f6d5aab66846a622dbacfd0c8198cf8f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 2 Jun 2017 12:04:00 +0100 Subject: [PATCH 6/9] spec: Document the Features and Interfaces properties on o.fd.DBus Signed-off-by: Simon McVittie --- doc/dbus-specification.xml | 109 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index d575c663..652a4522 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -6661,6 +6661,115 @@ + + Message Bus Properties + + The special message bus name org.freedesktop.DBus + exports several properties (see + ) on the object path + /org/freedesktop/DBus. + + + + <literal>org.freedesktop.DBus.Features</literal> + + As a property: + + Read-only constant ARRAY of STRING Features + + This property lists abstract “features” provided by the message + bus, and can be used by clients to detect the capabilities + of the message bus with which they are communicating. + This property was added in version 1.11.x of the reference + implementation of the message bus. + + + + Items in the returned array not containing “.” are defined + by this specification. Bus daemon implementors wishing to advertise + features not mentioned in this document should either contribute + patches to this specification, or use keys containing “.” and + starting with their own reversed domain name, for example + com.example.subliminal_messages. + + + + The features currently defined in this specification are as follows: + + + + apparmor + + + This message bus filters messages via the + AppArmor + security framework. This feature should only be + advertised if AppArmor mediation is enabled and + active at runtime; merely compiling in support + for AppArmor should not result in this feature being + advertised on message bus instances where it is disabled by + message bus or operating system configuration. + + + + + + selinux + + + This message bus filters messages via the + SELinux + security framework. Similar to apparmor, + this feature should only be advertised if SELinux mediation + is enabled and active at runtime. + + + + + + systemd_activation + + + When asked to activate a service that has the + SystemdService field in its .service + file, this message bus will carry out systemd activation + (for details see + ). + + + + + + + + + + <literal>org.freedesktop.DBus.Interfaces</literal> + + As a property: + + Read-only constant ARRAY of STRING Interfaces + + This property lists interfaces provided by the + /org/freedesktop/DBus object, + and can be used by clients to detect the capabilities + of the message bus with which they are communicating. + Unlike the standard Introspectable interface, querying this + property does not require parsing XML. + This property was added in version 1.11.x of the reference + implementation of the message bus. + + + + The standard org.freedesktop.DBus, + org.freedesktop.DBus.Properties, + org.freedesktop.DBus.Peer and + org.freedesktop.DBus.Introspectable + interfaces are not included in the value of this property. + + + +