summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2015-02-19Imported Upstream version 1.9.12upstream/1.9.12Simon McVittie7-14/+1418
2015-02-191.9.12Simon McVittie1-5/+6
2015-02-18Add apparmor element and attributes to the bus config dtdTyler Hicks1-1/+6
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75113 Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2015-02-18Document AppArmor enforcement in the dbus-daemon man pageTyler Hicks1-0/+56
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75113 Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2015-02-18Add LinuxSecurityLabel to specificationSimon McVittie1-0/+51
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89041 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
2015-02-16doc: Add a guide to designing D-Bus APIsPhilip Withnall3-2/+930
This guide gives some pointers on how to write D-Bus APIs which are nice to use. It adds an optional dependency on Ducktype and yelp-build from yelp-tools. These are used when available, but are not required unless --enable-ducktype-docs is passed to configure. They are required for uploading the docs, however. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88994 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2015-02-12Document dbus-test-toolSimon McVittie2-0/+326
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89086 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
2015-02-11Windows implementation of GetConnectionCredentials.Ralf Habacker1-0/+8
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54445
2015-02-09Imported Upstream version 1.9.10upstream/1.9.10Simon McVittie2-4/+112
2015-02-04dbus-monitor: add options to log binary data with or without pcap framingSimon McVittie1-4/+15
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46787 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
2015-02-04Capture all messages received or sent, and send them to monitorsSimon McVittie1-0/+97
Unlike eavesdropping, the point of capture is when the message is received, except for messages originating inside the dbus-daemon. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46787 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
2015-02-03Imported Upstream version 1.9.8upstream/1.9.8Simon McVittie1-1/+1
2015-02-03Imported Upstream version 1.9.8Simon McVittie1-0/+1
2015-01-02Imported Upstream version 1.9.6upstream/1.9.6Simon McVittie1-1/+9
2014-11-24Start spec 0.26Simon McVittie1-1/+9
2014-11-24Revert "Start spec 0.26"Simon McVittie1-9/+1
This reverts commit cdd9e9a65c40ac4c21dcd36e9bd0fd6c746ad753.
2014-11-10Start spec 0.26Simon McVittie1-1/+9
2014-11-06Imported Upstream version 1.9.2upstream/1.9.2Simon McVittie4-949/+134
2014-11-061.9.2, spec 0.25Simon McVittie1-4/+4
2014-10-29dbus-tutorial: replace the entire GLib section with "use GDBus"Simon McVittie1-939/+13
Also provide links to relevant GLib and Qt documentation. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=25140
2014-10-28dbus-spec, dbus-protocol: add ALLOW_INTERACTIVE_AUTHORIZATION flagSimon McVittie1-0/+60
Heavily based on a patch from Lennart Poettering. This is useful for authentication frameworks such as polkit, but this flag is supposed to be generic, and not be bound to any implementation of such a framework. The dbus specification already clarifies that unknown flags must be ignored, the reference implementation and the other implementations we checked indeed ignore any new flags, hence we should be fine with compatibility here. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83449
2014-10-13Do not claim that '*' resolves to INADDR_ANY on all OSsSimon McVittie1-3/+5
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72296
2014-10-13spec: introduce new value "const" for EmitsChangedSignal annotationLennart Poettering1-1/+18
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72958 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-10-06NEWS, bump spec version to (unreleased) 0.25Simon McVittie1-2/+10
2014-10-06spec: translate arbitrary limits into something more comprehensibleSimon McVittie1-4/+4
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=84188 Reviewed-by: Lennart Poettering
2014-10-06spec: in the table of types, classify themSimon McVittie1-0/+23
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=84188 Reviewed-by: Lennart Poettering
2014-10-01Imported Upstream version 1.9.0upstream/1.9.0Simon McVittie6-308/+506
2014-10-011.9.0dbus-1.9.0Simon McVittie1-4/+5
2014-09-25dbus-launch: Fix typo in manpageSebastian Rasmussen1-1/+1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=84313 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-09-25Describe quoting for match rulesSimon McVittie1-0/+26
I wish I could say "I can't believe this was never documented", but it wouldn't be true. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=24307 Reviewed-by: Alban Crequy
2014-09-24Expand documentation of NO_REPLY_EXPECTEDSimon McVittie1-8/+26
The message type is more important than whether NO_REPLY_EXPECTED is set, when deciding whether a reply is expected. This documents existing practice in at least libdbus, GDBus and dbus-daemon. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75749 Reviewed-by: Thiago Macieira
2014-09-16Merge branch 'dbus-1.8'Simon McVittie1-0/+4
Conflicts: NEWS configure.ac
2014-09-15config: add new limit: pending_fd_timeoutAlban Crequy1-0/+4
This is one of four commits needed to address CVE-2014-3637. When a file descriptor is passed to dbus-daemon, the associated D-Bus message might not be fully sent to dbus-daemon yet. Dbus-daemon keeps the file descriptor in the DBusMessageLoader of the connection, waiting for the rest of the message. If the client stops sending the remaining bytes, dbus-daemon will wait forever and keep that file descriptor. This patch adds pending_fd_timeout (milliseconds) in the configuration to disconnect a connection after a timeout when a file descriptor was sent but not the remaining message. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=80559 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-09-04doc/dbus-tutorial: fix tutorial to reference the proper GType for 'ay'Thomas Haller1-1/+1
DBUS_TYPE_G_BYTE_ARRAY does not exist. It should be DBUS_TYPE_G_UCHAR_ARRAY Signed-off-by: Thomas Haller <thaller@redhat.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=80795
2014-03-13Merge branch 'dbus-1.8'Simon McVittie1-2/+1
2014-03-13Update email-address for David Zeuthen.David Zeuthen1-2/+1
I no longer have the email address davidz@redhat.com so update it to my current address. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75288
2014-01-20start spec 0.24Simon McVittie1-2/+10
2014-01-20Revert "start spec 0.24"Simon McVittie1-10/+2
It hasn't otherwise changed since 1.7.10. This reverts commit fb16f80d457a66610f615b44158330bf7ba68697.
2014-01-17Rename bus-test to test-bus to match common test application naming scheme.Ralf Habacker1-4/+4
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73495 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-01-17Rename dbus-test to test-dbus to match common test application naming scheme.Ralf Habacker1-3/+3
[reverted the dbus-specification part -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73495 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-01-06start spec 0.24Simon McVittie1-2/+10
2014-01-061.7.10Simon McVittie1-4/+6
2014-01-06dbus-daemon(1): align document about "bind" with DBus SpecChengwei Yang1-6/+7
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72301 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-01-06DBus Spec: add document of bind for tcp/nonce-tcp transportChengwei Yang1-2/+19
tcp/nonce-tcp transport has a "bind" key, which can be specified a hostname and will override hostname specified in "host" key. "bind" has a special value "*" which means ip address 0.0.0.0 and will cause dbus-daemon listen on all interfaces. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72301 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-01-06DBus Spec: replace tab with 8 spacesChengwei Yang1-213/+213
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72301 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-12-02specification: discuss "listenable" and "connectable" addressesSimon McVittie1-5/+86
The --with-dbus-session-bus-connect-address configure option and the DBUS_SESSION_BUS_CONNECT_ADDRESS CMake variable expect a connectable address, while the --with-dbus-session-bus-listen-address option and the DBUS_SESSION_BUS_LISTEN_ADDRESS variable expect a listenable address. DBUS_SYSTEM_BUS_DEFAULT_ADDRESS currently has to be an address that is simultaneously listenable and connectable. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61303 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com> [fixed name of DBUS_SESSION_BUS_CONNECT_ADDRESS as per review -smcv] Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-27spec: explicitly mention filtering messages with no INTERFACESimon McVittie1-0/+9
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>
2013-11-27Do not require messages without INTERFACE to be dispatchedSimon McVittie1-6/+10
Previously, if we have interfaces: interface com.example.foo: method Ambiguous() interface com.example.bar: method Ambiguous() method Unambiguous() implementations were required to deliver a message with no INTERFACE and METHOD=Unambiguous to "bar". A message with no INTERFACE and METHOD=Ambiguous could either be delivered to "foo", delivered to "bar" or treated as an error. Relax this to allow an error for the unambiguous case, too, and strongly recommend specifying the interface (which is best-practice). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68597 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com> Vaguely-acked-by: Thiago Macieira, David Zeuthen [and desrt objected that it didn't go far enough] Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01start dbus-specification 0.23Simon McVittie1-2/+10
2013-11-01Imported Upstream version 1.7.8upstream/1.7.8Simon McVittie2-74/+84