summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2014-04-30Imported Upstream version 1.8.2upstream/1.8.2Simon 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-20Imported Upstream version 1.8.0upstream/1.8.0Simon McVittie1-7/+7
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-06Imported Upstream version 1.7.10upstream/1.7.10Simon McVittie3-287/+430
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
2013-11-01Revert "start dbus-specification 0.23"Simon McVittie1-10/+2
This reverts commit c8bc5f24b721bc03679c44669cf5e655c1e99b5f. Nothing changed since 0.22.
2013-11-01Update configurable elements for dbus-daemon manualChengwei Yang1-0/+31
Update three configurable elements for dbus-daemon manual, <syslog>, <pidfile> and <allow_anonymous>, all of them are undocumented so far. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69125 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-10-10start dbus-specification 0.23Simon McVittie1-2/+10
2013-10-09Imported Upstream version 1.7.6upstream/1.7.6Simon McVittie6-86/+352
2013-10-09D-Bus 1.7.6, spec 0.22Simon McVittie1-3/+6
2013-10-08Spec: document multiple .service files own the same well known nameChengwei Yang1-3/+22
In current dbus-daemon(1) implement, system .serivce must named after its owned name, but this is not the case for session .service. For session service, the result of multiple .service files own the same well known name is undefined since readdir(3) doesn't return dirent in a defined sequence. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66608 [added some </para><para> -smcv] Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-10-08spec: briefly describe Name, Exec and User keysSimon McVittie1-0/+13
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66608 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
2013-10-08spec: system services' service description files have constrained namesSimon McVittie1-0/+13
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66608 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
2013-09-13Remove obscure "low-latency" parts in the introduction of specJustin Lee1-9/+4
According to Wikipedia http://en.wikipedia.org/wiki/Latency_%28engineering%29#Packet-switched_networks latency means "the time from the source sending a packet to the destination receiving it". Therefore, latency is unrelated to whether the operation is asynchronous or synchronous. And also unrelated to whether it's one-way or round-trip. Latency exists for asynchronous and one-way transfer, because for current DBus implementations we need at least one context switch to transfer each message from the sender process to the receiver process. Emphasizing D-Bus is low-latency could encourage user to abuse/misuse the system. Mail disscusion: http://lists.freedesktop.org/archives/dbus/2013-May/015665.html Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65141 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-09-13Fix dbus-daemon document about servicedirChengwei Yang1-1/+1
In dbus-daemon implementation, the servicedir are searched in order in which they appear in the config file. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66994 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-09-05Use GNU make features to reduce repetitionSimon McVittie1-21/+9
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48277 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
2013-09-03Allow dbus-daemon --nofork on WindowsSimon McVittie1-4/+10
On Windows, the dbus-daemon is not able to fork (daemonize). If someone explicitly requests forking, it should fail, but if someone explicitly requests *not* forking, there seems no harm in allowing it. A few of the regression tests specifically require a dbus-daemon that will not fork, so allowing this option on Windows means those tests don't need an extra OS condition. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
2013-08-23DBus Spec: fix examples namespace to com.exampleChengwei Yang1-12/+12
There are a lot of examples in DBus Spec, and some of them just use the namespace org.freedesktop, and so as object namespace org/freedesktop. However, this is quite confusing. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66481 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-08-23dbus-run-session: remove various extra variables from the environmentSimon McVittie1-0/+7
DBUS_SESSION_BUS_PID is not mandatory to set, but we should unset it if present, since it points to a different session's bus. Likewise for DBUS_SESSION_BUS_WINDOWID. Similarly, if DBUS_STARTER_BUS_TYPE and DBUS_STARTER_ADDRESS are set (as they would be under GNOME Terminal 3.8, see <https://bugs.freedesktop.org/show_bug.cgi?id=63119>) then they are likely to point to a different session's bus. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39196 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Colin Walters <walters@verbum.org>
2013-08-23Revert "Factor out DBusAuthorization from DBusTransport"Simon McVittie1-8/+0
This reverts commit 600621dbc8073527a958091316eddfbb490c1032.
2013-08-23Factor out DBusAuthorization from DBusTransportCosimo Alfarano1-0/+8
In order to authorize/reject a connection in a polite way, instead of cutting it off after authentication succeed and Hello() is sent, because authorization failed, we need to factor out some authorization bits from DBusTransport and pass them to DBusAuth. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39720 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-08-22DBus Spec: Fix sample service fileChengwei Yang1-1/+1
There are two errors in the sample service file. First, a typo, Names should be Name. Second, can not specify multiple names. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66481 Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-08-22Document GetAdtAuditSessionData and GetConnectionSELinuxSecurityContextSimon McVittie1-0/+117
These are only part of the DBus interface because dbus-daemon didn't previously support multiple interfaces. I don't know enough about either of these security frameworks to know what they return, but perhaps one day someone who knows about Solaris or SELinux will tell us... Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54445 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
2013-08-22GetConnectionCredentials: addSimon McVittie1-0/+102
The initial set of credentials is just UnixUserID and ProcessID. The rest can follow when someone is sufficiently interested to actually test them. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54445 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> [rename a function that Ralf found unclear -smcv] Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-06-26dbus-launch: align documentChengwei Yang1-3/+18
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66068
2013-06-24DBus Specification: remove incorrect table descriptionChengwei Yang1-2/+1
I doubt this line was copied by mistake from section "Summary of types". Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66115
2013-06-13start spec 0.22 developmentSimon McVittie1-2/+8
2013-06-12Imported Upstream version 1.7.4upstream/1.7.4Simon McVittie5-62/+243
2013-06-12Revert "start spec 0.22 development"Simon McVittie1-8/+2
This reverts commit 82b3d94ab10f16e6c6c18eb3bc76594cd63e3854.
2013-06-05Recomend dbus-run-session over dbus-launch for starting text-mode sessionsSimon McVittie1-2/+4
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39196 Reviewed-by: Colin Walters <walters@verbum.org> [reformatted from roff to Docbook -smcv]
2013-06-05Put dbus-run-session through doclifter and adjust to match other man pagesSimon McVittie3-100/+145
2013-06-05Add dbus-run-sessionSimon McVittie2-0/+102
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39196 Reviewed-by: Colin Walters <walters@verbum.org>
2013-06-05doc: fix a little bit for dbus-sendChengwei Yang1-2/+8
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-05-02start spec 0.22 developmentSimon McVittie1-2/+8
2013-04-25Imported Upstream version 1.7.2upstream/1.7.2Simon McVittie5-13/+28
2013-04-25prepare version 1.7.2 and spec 0.21Simon McVittie1-4/+5
2013-04-22Specification: explicitly allow the Unicode noncharactersSimon McVittie1-2/+9
This follows Unicode Corrigendum #9. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63072 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-04-19Unify docbook dtd version to 4.4.Ralf Habacker4-8/+8
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59805 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>