Merge branch 'dbus-1.8'
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 6 Nov 2014 20:59:57 +0000 (20:59 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 6 Nov 2014 20:59:57 +0000 (20:59 +0000)
Conflicts:
NEWS
configure.ac

1  2 
NEWS
bus/activation.c
dbus/dbus-sysdeps-util-unix.c
dbus/dbus-sysdeps-util-win.c
dbus/dbus-sysdeps.h

diff --cc NEWS
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
 -D-Bus 1.8.10 (2014-11-10)
 +D-Bus 1.9.2 (UNRELEASED)
  ==
  
 -The “tenants with a leaking roof get priority” release.
 +The “structurally unsound flapjack” release.
  
+ Security fixes:
+ • Increase dbus-daemon's RLIMIT_NOFILE rlimit to 65536
+   so that CVE-2014-3636 part A cannot exhaust the system bus'
+   file descriptors, completing the incomplete fix in 1.8.8.
+   (CVE-2014-7824, fd.o #85105; Simon McVittie, Alban Crequy)
 +Enhancements:
 +
 +• D-Bus Specification version 0.25
 +  · new value 'const' for EmitsChangedSignal annotation
 +    (fd.o #72958, Lennart Poettering)
 +  · new ALLOW_INTERACTIVE_AUTHORIZATION flag, for PolicyKit and similar
 +    (fd.o #83449; Lennart Poettering, Simon McVittie)
 +  · annotate table of types with reserved/basic/container, and for
 +    basic types, fixed/string-like
 +  · clarify arbitrary limits by quoting them in mebibytes
 +
 +• New API: add accessors for the ALLOW_INTERACTIVE_AUTHORIZATION flag
 +  (fd.o #83449, Simon McVittie)
 +
 +• Add dbus-test-tool, a D-Bus swiss army knife with multiple subcommands,
 +  useful for debugging and performance testing:
 +  · dbus-test-tool spam: send repeated messages
 +  · dbus-test-tool echo: send an empty reply for all method calls
 +  · dbus-test-tool black-hole: do not reply to method calls
 +  (fd.o #34140; Alban Crequy, Simon McVittie, Will Thompson)
 +
 +• Add support for process ID in credentials-passing on NetBSD
 +  (fd.o #69702, Patrick Welche)
 +
 +• Add an example script to find potentially undesired match rules
 +  (fd.o #84598, Alban Crequy)
 +
 +• Document the central assumption that makes our use of credentials-passing
 +  secure (fd.o #83499, Simon McVittie)
 +
 +• Replace the dbus-glib section of the tutorial with a GDBus recommendation,
 +  and add some links to GDBus and QtDBus documentation (fd.o #25140,
 +  Simon McVittie)
 +
 +Fixes:
 +
 +• Use a less confusing NoReply message when disconnected with a reply pending
 +  (fd.o #76112, Simon McVittie)
 +
 +• Make the .pc file relocatable by letting pkg-config do all variable
 +  expansion itself (fd.o #75858, Руслан Ижбулатов)
 +
 +• Fix a build failure on platforms with kqueue, which regressed in 1.9.0
 +  (fd.o #85563, Patrick Welche)
 +
 +• Consistently save errno after socket calls (fd.o #83625, Simon McVittie)
 +
 +• In dbus-spawn, when the grandchild process exits due to a failed exec(),
 +  do not lose the exec() errno (fd.o #24821, Simon McVittie)
 +
 +• Do not fail the tests if a parent process has leaked non-close-on-exec
 +  file descriptors to us (fd.o #73689, fd.o #83899; Simon McVittie)
 +
 +• Do not fail the tests on Unix platforms with incomplete
 +  credentials-passing support, but do fail if we can't pass credentials
 +  on a platform where it is known to work: Linux, FreeBSD, OpenBSD, NetBSD
 +  (fd.o #69702, Simon McVittie)
 +
 +• Detect accept4, dirfd, inotify_init1, pipe2, and Unix fd passing
 +  when building with cmake, and expand test coverage there
 +  (fd.o #73689; Ralf Habacker, Simon McVittie)
 +
 +D-Bus 1.9.0 (2014-10-01)
 +==
 +
 +The “tiered cheeses” release.
 +
 +Requirements:
 +
 +• Support for the systemd: (LISTEN_FDS) pseudo-transport on Linux now
 +  requires either the libsystemd or libsd-daemon shared library, dropping the
 +  embedded convenience copy of sd-daemon (fd.o #71818, Simon)
 +
 +Build-time configuration changes:
 +
 +• The Stats interface is now enabled by default, and locked-down to
 +  root-only on the system bus. Configure with --disable-stats
 +  to disable it altogether on memory- or disk-constrained systems,
 +  or see ${docdir}/examples/ to open it up to non-root users on the
 +  system bus or restrict access on the session bus.
 +  (fd.o #80759; Simon McVittie, Alban Crequy)
 +
 +• The CMake build system now builds the same shared library name as Autotools
 +  on at least Linux and Windows:
 +  - on Linux (and perhaps other Unix platforms), it previously built
 +    libdbus-1.so, but now builds libdbus-1.so.3.* with development
 +    symlink libdbus-1.so and SONAME/symlink libdbus-1.so.3
 +  - on Windows, it previously built either libdbus-1.dll (release) or
 +    libdbus-1d.dll (debug), but now builds libdbus-1-3.dll, copied to
 +    libdbus-1.dll for compatibility with older applications.
 +  (fd.o #74117, Ralf Habacker)
 +
 +Enhancements:
 +
 +• D-Bus Specification version 0.24
 +  · document how to quote match rules (fd.o #24307, Simon McVittie)
 +  · explicitly say that most message types never expect a reply
 +    regardles of whether they have NO_REPLY_EXPECTED
 +    (fd.o #75749, Simon McVittie)
 +
 +• on Unix platforms, disable Nagle's algorithm on TCP connections to improve
 +  initial latency (fd.o #75544, Matt Hoosier)
 +
 +• use backtrace() if it is in -lexecinfo instead of libc, as on NetBSD
 +  (fd.o #69702, Patrick Welche)
 +
 +• in dbus-monitor, print more information about file descriptors
 +  (fd.o #80603, Alban Crequy)
 +
 +• do not install system bus configuration if built for Windows
 +  (fd.o #83583; Ralf Habacker, Simon McVittie)
 +
 +• Add GetAllMatchRules to the Stats interface (fd.o #24307, Alban Crequy)
 +
 +• Add a regression test for file descriptor passing (fd.o #83622,
 +  Simon McVittie)
 +
 +Fixes:
 +
 +• fix an incorrect error message if a Unix socket path is too long
 +  (fd.o #73887, Antoine Jacoutot)
 +
 +• in an MSYS/Cygwin environment, pass Unix-style filenames to xmlto,
 +  fixing documentation generation (fd.o #75860, Руслан Ижбулатов)
 +
 +• in Unix with X11, avoid giving dbus-launch a misleading argv[0]
 +  in ps(1) (fd.o #69716, Chengwei Yang)
 +
 +• avoid calling poll() with timeout < -1, which is considered invalid
 +  on FreeBSD and NetBSD (fd.o #78480, Jaap Boender)
 +
 +• be portable to BSD-derived platforms where O_CLOEXEC is unavailable in libc
 +  (like Mac OS X 10.6), or available in libc but unsupported by the kernel
 +  (fd.o #77032; rmvsxop, OBATA Akio, Patrick Welche)
 +
 +• Fix include path for test/internal/*.c with cmake (Ralf Habacker)
 +
 +• Documentation improvements
 +  (fd.o #80795, #84313; Thomas Haller, Sebastian Rasmussen)
 +
 +• in dbus-monitor, do not leak file descriptors that we have monitored
 +  (fd.o #80603, Alban Crequy)
 +
 +• Set the close-on-exec flag for the inotify file descriptor, even
 +  if built with CMake or older libc (fd.o #73689, Simon McVittie)
 +
 +• Remove some LGPL code from the Windows dbus-daemon
 +  (fd.o #57272, Ralf Habacker)
 +
  D-Bus 1.8.8 (2014-09-16)
  ==
  
Simple merge
Simple merge
Simple merge
Simple merge