- 29 Apr, 2011 1 commit
-
-
Will Thompson authored
A coworker was just tripped up by `dbus-monitor --session --system` only monitoring the system bus. This patch would have saved him reproducing a tricky bug several times! Bug: https://bugs.freedesktop.org/show_bug.cgi?id=26548Reviewed-by:
Colin Walters <walters@verbum.org> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 27 Apr, 2011 4 commits
-
-
Simon McVittie authored
-
Lennart Poettering authored
Newer systemd-based systems support a global machine ID with the same metrics as the D-Bus machine ID, but more powerful semantics (for example on ro media) in /etc/machine-id. If the D-Bus machine ID cannot be read, fall back to the systemd machine ID. This is a first step towards allowing D-Bus to be started up during early boot where /var is not available. [plus a whitespace fix -smcv] Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by:
Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35228
-
Simon McVittie authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35173Reviewed-by:
Colin Walters <walters@verbum.org>
-
Simon McVittie authored
This is necessary to run the regression tests under valgrind (if telling it to output to a dedicated fd), gdb, fakeroot etc. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35173Reviewed-by:
Colin Walters <walters@verbum.org>
-
- 26 Apr, 2011 10 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
Simon McVittie authored
-
Colin Walters authored
Log when we are activating something (and whether it's via systemd) as well as when we fail to activate, and when one succeeds. https://bugs.freedesktop.org/show_bug.cgi?id=35705
-
Simon McVittie authored
Also use AC_LINK_IFELSE rather than reinventing it as a shell function. This was the last user of ld_supports_flag, so, delete it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33466Reviewed-by:
Colin Walters <walters@verbum.org>
-
Simon McVittie authored
-
Simon McVittie authored
-
Simon McVittie authored
It's a minor security benefit, but not automatically beneficial (it enables ASLR, but breaks prelinking, some buggy toolchains, and some gdb versions). Distributions who know their infrastructure works well can enable it just as easily via ./configure CFLAGS="-fPIE" LDFLAGS="-pie" without extra support from us, and that's a generic solution applicable to many packages. Similarly, don't force libdbus and libdbus-internal to be PIC: libtool knows better than we do whether that's necessary/beneficial on a particular platform. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=16621 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27215 Bug-NB: NB#171940 Reviewed-by:
Colin Walters <walters@verbum.org>
-
Simon McVittie authored
Also remove some pointless indirection (extra_tests etc.), don't install the unused directory $(libexecdir)/dbus-1 (we actually install the launch helper directly into $(libexecdir)), and allow dbus_daemondir to be set on Windows rather than forcing dbus-daemon to be installed to $(bindir) there. dbus_daemon_execdir has to contain "exec" so that the dbus-daemon will be installed by "make install-exec" and not "make install-data". Bug: https://bugs.freedesktop.org/show_bug.cgi?id=14512Reviewed-by:
Colin Walters <walters@verbum.org>
-
- 12 Apr, 2011 1 commit
-
-
Simon McVittie authored
It turns out that rsync --chmod means "pretend the source files had already had this chmod operation applied to them", and not "chmod the destination files" like you'd expect. As a result, the -p (--perms) option is also needed, so that rsync will "preserve" the modified permissions. Otherwise, the docs will not be group-writeable as intended, and only the person who made the previous upload will be able to upload them next time. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36130Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
- 08 Apr, 2011 3 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
Colin Walters authored
In commit: 075945f6 (John (J5) Palmieri 2005-07-14 20:44:15 +0000 some code was added to compare services by Exec key. The changelog is not pariticularly informative as to why this was added. But while debugging other code, we noticed this. Comparing by Exec key is not in the specification, and triggered a problem where while converting services to use systemd for activation, a change was made to use Exec=/bin/false and simply rely on systemd to activate. While I think it was broken for the service files to be changed to Exec=/bin/false, we shouldn't be doing something here that's not in the spec either. Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35750
-
- 07 Apr, 2011 3 commits
-
-
Simon McVittie authored
-
Sven Herzberg authored
Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19159
-
Simon McVittie authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887Reviewed-by:
Colin Walters <walters@verbum.org>
-
- 14 Mar, 2011 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
This reverts commits d1d39577..09c9d640, keeping Lennart's addition of UnknownInterface etc.
-
- 10 Mar, 2011 12 commits
-
-
Lennart Poettering authored
UnknownInterface, UnknownObject, UnknownProperty and PropertyReadOnly, as discussed on the ML. The first two are already used by various bindings, such as the Qt and Java binding, but have never been made official. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34527Reviewed-by:
David Zeuthen <davidz@redhat.com> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
This is just as useful for bindings as dbus_signature_validate, and I think it's a good design principle to say that anything checked in a _dbus_return_if_fail should be something the caller could check for themselves. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
-
Simon McVittie authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
As far as I can tell, we've never accepted out-of-range booleans and canonicalized them, ever since this was first committed in 2004. If sent, they'd be considered to be invalid by recipients, so they're unambiguously an error. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
This function specifically doesn't support Unix fds and is documented as such. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
Previously, the comments said "this function will crash", but that's not strictly true (checks can be disabled or made non-fatal). Their behaviour is undefined if you do that, though. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
The D-Bus type system isn't implementable without 64-bit support, although for historical reasons we have some sort of semi-working support for platforms with no 64-bit integers. Let's find out whether any practically relevant platform still lacks these types... (GLib appears to have required 64-bit integer types since 2001.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35114Reviewed-by:
Lennart Poettering <lennart@poettering.net>
-
Simon McVittie authored
-
Lennart Poettering authored
This fixes 2b595988 which forgot to add m4/ to the command line of aclocal but moved scripts there.
-
- 08 Mar, 2011 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
- 07 Mar, 2011 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-