| 1 |
D-Bus 1.7.10 (2014-01-06) |
| 2 |
== |
| 3 |
|
| 4 |
The “weighted companion cube” release. |
| 5 |
|
| 6 |
This is a release candidate for D-Bus 1.8. |
| 7 |
|
| 8 |
D-Bus Specification 0.23: |
| 9 |
|
| 10 |
• don't require messages with no INTERFACE to be dispatched |
| 11 |
(fd.o #68597, Simon McVittie) |
| 12 |
|
| 13 |
• document "tcp:bind=..." and "nonce-tcp:bind=..." (fd.o #72301, |
| 14 |
Chengwei Yang) |
| 15 |
|
| 16 |
• define "listenable" and "connectable" addresses, and discuss |
| 17 |
the difference (fd.o #61303, Simon McVittie) |
| 18 |
|
| 19 |
Enhancements: |
| 20 |
|
| 21 |
• support printing Unix file descriptors in dbus-send, dbus-monitor |
| 22 |
(fd.o #70592, Robert Ancell) |
| 23 |
|
| 24 |
• don't install systemd units if --disable-systemd is given |
| 25 |
(fd.o #71818, Chengwei Yang) |
| 26 |
|
| 27 |
Fixes: |
| 28 |
|
| 29 |
• don't leak memory on out-of-memory while listing activatable or |
| 30 |
active services (fd.o #71526, Radoslaw Pajak) |
| 31 |
|
| 32 |
• fix undefined behaviour in a regression test (fd.o #69924, DreamNik) |
| 33 |
|
| 34 |
• escape Unix socket addresses correctly (fd.o #46013, Chengwei Yang) |
| 35 |
|
| 36 |
• on SELinux systems, don't assume that SECCLASS_DBUS, DBUS__ACQUIRE_SVC |
| 37 |
and DBUS__SEND_MSG are numerically equal to their values in the |
| 38 |
reference policy (fd.o #88719, osmond sun) |
| 39 |
|
| 40 |
• define PROCESS_QUERY_LIMITED_INFORMATION if missing from MinGW < 4 headers |
| 41 |
(fd.o #71366, Matt Fischer) |
| 42 |
|
| 43 |
• define WIN32_LEAN_AND_MEAN to avoid conflicts between winsock.h and |
| 44 |
winsock2.h (fd.o #71405, Matt Fischer) |
| 45 |
|
| 46 |
• do not return failure from _dbus_read_nonce() with no error set, |
| 47 |
preventing a potential crash (fd.o #72298, Chengwei Yang) |
| 48 |
|
| 49 |
• on BSD systems, avoid some O(1)-per-process memory and fd leaks in kqueue, |
| 50 |
preventing test failures (fd.o #69332, fd.o #72213; Chengwei Yang) |
| 51 |
|
| 52 |
• fix warning spam on Hurd by not trying to set SO_REUSEADDR on Unix sockets, |
| 53 |
which doesn't do anything anyway on at least Linux and FreeBSD |
| 54 |
(fd.o #69492, Simon McVittie) |
| 55 |
|
| 56 |
• fix use of TCP sockets on FreeBSD and Hurd by tolerating EINVAL from |
| 57 |
sendmsg() with SCM_CREDS (retrying with plain send()), and looking |
| 58 |
for credentials more correctly (fd.o #69492, Simon McVittie) |
| 59 |
|
| 60 |
• ensure that tests run with a temporary XDG_RUNTIME_DIR to avoid |
| 61 |
getting mixed up in XDG/systemd "user sessions" (fd.o #61301, |
| 62 |
Simon McVittie) |
| 63 |
|
| 64 |
• refresh cached policy rules for existing connections when bus |
| 65 |
configuration changes (fd.o #39463, Chengwei Yang) |
| 66 |
|
| 67 |
D-Bus 1.7.8 (2013-11-01) |
| 68 |
== |
| 69 |
|
| 70 |
The “extreme hills” release. |
| 71 |
|
| 72 |
Dependencies: |
| 73 |
|
| 74 |
• If systemd support is enabled, libsystemd-journal is now required. |
| 75 |
|
| 76 |
Enhancements: |
| 77 |
|
| 78 |
• When activating a non-systemd service under systemd, annotate its |
| 79 |
stdout/stderr with its bus name in the Journal. Known limitation: |
| 80 |
because the socket is opened before forking, the process will still be |
| 81 |
logged as if it had dbus-daemon's process ID and user ID. |
| 82 |
(fd.o #68559, Chengwei Yang) |
| 83 |
|
| 84 |
• Document more configuration elements in dbus-daemon(1) |
| 85 |
(fd.o #69125, Chengwei Yang) |
| 86 |
|
| 87 |
Fixes: |
| 88 |
|
| 89 |
• Don't leak string arrays or fds if dbus_message_iter_get_args_valist() |
| 90 |
unpacks them and then encounters an error (fd.o #21259, Chengwei Yang) |
| 91 |
|
| 92 |
• If compiled with libaudit, retain CAP_AUDIT_WRITE so we can write |
| 93 |
disallowed method calls to the audit log, fixing a regression in 1.7.6 |
| 94 |
(fd.o #49062, Colin Walters) |
| 95 |
|
| 96 |
• path_namespace='/' in match rules incorrectly matched nothing; it |
| 97 |
now matches everything. (fd.o #70799, Simon McVittie) |
| 98 |
|
| 99 |
D-Bus 1.7.6 (2013-10-09) |
| 100 |
== |
| 101 |
|
| 102 |
The “CSI Shrewsbury” release. |
| 103 |
|
| 104 |
Build-time configuration changes: |
| 105 |
|
| 106 |
• Directory change notification via dnotify on Linux is no longer |
| 107 |
supported; it hadn't compiled successfully since 2010 in any case. |
| 108 |
If you don't have inotify (Linux) or kqueue (*BSD), you will need |
| 109 |
to send SIGHUP to the dbus-daemon when its configuration changes. |
| 110 |
(fd.o #33001, Chengwei Yang) |
| 111 |
|
| 112 |
• Compiling with --disable-userdb-cache is no longer supported; |
| 113 |
it didn't work since at least 2008, and would lead to an extremely |
| 114 |
slow dbus-daemon even it worked. (fd.o #15589, #17133, #66947; |
| 115 |
Chengwei Yang) |
| 116 |
|
| 117 |
• The DBUS_DISABLE_ASSERTS CMake option didn't actually disable most |
| 118 |
assertions. It has been renamed to DBUS_DISABLE_ASSERT to be consistent |
| 119 |
with the Autotools build system. (fd.o #66142, Chengwei Yang) |
| 120 |
|
| 121 |
• --with-valgrind=auto enables Valgrind instrumentation if and only if |
| 122 |
valgrind headers are available. The default is still --with-valgrind=no. |
| 123 |
(fd.o #56925, Simon McVittie) |
| 124 |
|
| 125 |
Dependencies: |
| 126 |
|
| 127 |
• Platforms with no 64-bit integer type are no longer supported. |
| 128 |
(fd.o #65429, Simon McVittie) |
| 129 |
|
| 130 |
• GNU make is now (documented to be) required. (fd.o #48277, Simon McVittie) |
| 131 |
|
| 132 |
• Full test coverage no longer requires dbus-glib, although the tests do not |
| 133 |
exercise the shared library (only a static copy) if dbus-glib is missing. |
| 134 |
(fd.o #68852, Simon McVittie) |
| 135 |
|
| 136 |
Enhancements: |
| 137 |
|
| 138 |
• D-Bus Specification 0.22 |
| 139 |
· Document GetAdtAuditSessionData() and |
| 140 |
GetConnectionSELinuxSecurityContext() (fd.o #54445, Simon) |
| 141 |
· Fix example .service file (fd.o #66481, Chengwei Yang) |
| 142 |
· Don't claim D-Bus is "low-latency" (lower than what?), just |
| 143 |
give factual statements about it supporting async use |
| 144 |
(fd.o #65141, Justin Lee) |
| 145 |
· Document the contents of .service files, and the fact that |
| 146 |
system services' filenames are constrained |
| 147 |
(fd.o #66608; Simon McVittie, Chengwei Yang) |
| 148 |
|
| 149 |
• Be thread-safe by default on all platforms, even if |
| 150 |
dbus_threads_init_default() has not been called. For compatibility with |
| 151 |
older libdbus, library users should continue to call |
| 152 |
dbus_threads_init_default(): it is harmless to do so. |
| 153 |
(fd.o #54972, Simon McVittie) |
| 154 |
|
| 155 |
• Add GetConnectionCredentials() method (fd.o #54445, Simon) |
| 156 |
|
| 157 |
• New API: dbus_setenv(), a simple wrapper around setenv(). |
| 158 |
Note that this is not thread-safe. (fd.o #39196, Simon) |
| 159 |
|
| 160 |
• Add dbus-send --peer=ADDRESS (connect to a given peer-to-peer connection, |
| 161 |
like --address=ADDRESS in previous versions) and dbus-send --bus=ADDRESS |
| 162 |
(connect to a given bus, like dbus-monitor --address=ADDRESS). |
| 163 |
dbus-send --address still exists for backwards compatibility, |
| 164 |
but is no longer documented. (fd.o #48816, Andrey Mazo) |
| 165 |
|
| 166 |
• Windows-specific: |
| 167 |
· "dbus-daemon --nofork" is allowed on Windows again. (fd.o #68852, |
| 168 |
Simon McVittie) |
| 169 |
|
| 170 |
Fixes: |
| 171 |
|
| 172 |
• Avoid an infinite busy-loop if a signal interrupts waitpid() |
| 173 |
(fd.o #68945, Simon McVittie) |
| 174 |
|
| 175 |
• Clean up memory for parent nodes when objects are unexported |
| 176 |
(fd.o #60176, Thomas Fitzsimmons) |
| 177 |
|
| 178 |
• Make dbus_connection_set_route_peer_messages(x, FALSE) behave as |
| 179 |
documented. Previously, it assumed its second parameter was TRUE. |
| 180 |
(fd.o #69165, Chengwei Yang) |
| 181 |
|
| 182 |
• Escape addresses containing non-ASCII characters correctly |
| 183 |
(fd.o #53499, Chengwei Yang) |
| 184 |
|
| 185 |
• Document <servicedir> search order correctly (fd.o #66994, Chengwei Yang) |
| 186 |
|
| 187 |
• Don't crash on "dbus-send --session / x.y.z" which regressed in 1.7.4. |
| 188 |
(fd.o #65923, Chengwei Yang) |
| 189 |
|
| 190 |
• If malloc() returns NULL in _dbus_string_init() or similar, don't free |
| 191 |
an invalid pointer if the string is later freed (fd.o #65959, Chengwei Yang) |
| 192 |
|
| 193 |
• If malloc() returns NULL in dbus_set_error(), don't va_end() a va_list |
| 194 |
that was never va_start()ed (fd.o #66300, Chengwei Yang) |
| 195 |
|
| 196 |
• fix build failure with --enable-stats (fd.o #66004, Chengwei Yang) |
| 197 |
|
| 198 |
• fix a regression test on platforms with strict alignment (fd.o #67279, |
| 199 |
Colin Walters) |
| 200 |
|
| 201 |
• Avoid calling function parameters "interface" since certain Windows headers |
| 202 |
have a namespace-polluting macro of that name (fd.o #66493, Ivan Romanov) |
| 203 |
|
| 204 |
• Assorted Doxygen fixes (fd.o #65755, Chengwei Yang) |
| 205 |
|
| 206 |
• Various thread-safety improvements to static variables (fd.o #68610, |
| 207 |
Simon McVittie) |
| 208 |
|
| 209 |
• Make "make -j check" work (fd.o #68852, Simon McVittie) |
| 210 |
|
| 211 |
• Fix a NULL pointer dereference on an unlikely error path |
| 212 |
(fd.o #69327, Sviatoslav Chagaev) |
| 213 |
|
| 214 |
• Improve valgrind memory pool tracking (fd.o #69326, |
| 215 |
Sviatoslav Chagaev) |
| 216 |
|
| 217 |
• Don't over-allocate memory in dbus-monitor (fd.o #69329, |
| 218 |
Sviatoslav Chagaev) |
| 219 |
|
| 220 |
• dbus-monitor can monitor dbus-daemon < 1.5.6 again |
| 221 |
(fd.o #66107, Chengwei Yang) |
| 222 |
|
| 223 |
• Unix-specific: |
| 224 |
· If accept4() fails with EINVAL, as it can on older Linux kernels |
| 225 |
with newer glibc, try accept() instead of going into a busy-loop. |
| 226 |
(fd.o #69026, Chengwei Yang) |
| 227 |
· If socket() or socketpair() fails with EINVAL or EPROTOTYPE, |
| 228 |
for instance on Hurd or older Linux with a new glibc, try without |
| 229 |
SOCK_CLOEXEC. (fd.o #69073; Pino Toscano, Chengwei Yang) |
| 230 |
· Fix a file descriptor leak on an error code path. |
| 231 |
(fd.o #69182, Sviatoslav Chagaev) |
| 232 |
· dbus-run-session: clear some unwanted environment variables |
| 233 |
(fd.o #39196, Simon) |
| 234 |
· dbus-run-session: compile on FreeBSD (fd.o #66197, Chengwei Yang) |
| 235 |
· Don't fail the autolaunch test if there is no DISPLAY (fd.o #40352, Simon) |
| 236 |
· Use dbus-launch from the builddir for testing, not the installed copy |
| 237 |
(fd.o #37849, Chengwei Yang) |
| 238 |
· Fix compilation if writev() is unavailable (fd.o #69409, |
| 239 |
Vasiliy Balyasnyy) |
| 240 |
· Remove broken support for LOCAL_CREDS credentials passing, and |
| 241 |
document where each credential-passing scheme is used (fd.o #60340, |
| 242 |
Simon McVittie) |
| 243 |
· Make autogen.sh work on *BSD by not assuming GNU coreutils functionality |
| 244 |
(fd.o #35881, #69787; Chengwei Yang) |
| 245 |
· dbus-monitor: be portable to NetBSD (fd.o #69842, Chengwei Yang) |
| 246 |
· dbus-launch: stop using non-portable asprintf (fd.o #37849, Simon) |
| 247 |
· Improve error reporting from the setuid activation helper (fd.o #66728, |
| 248 |
Chengwei Yang) |
| 249 |
|
| 250 |
• Windows-specific: |
| 251 |
· Remove unavailable command-line options from 'dbus-daemon --help' |
| 252 |
(fd.o #42441, Ralf Habacker) |
| 253 |
· Add support for looking up local TCPv4 clients' credentials on |
| 254 |
Windows XP via the undocumented AllocateAndGetTcpExTableFromStack |
| 255 |
function (fd.o #66060, Ralf Habacker) |
| 256 |
· Fix insufficient dependency-tracking (fd.o #68505, Simon McVittie) |
| 257 |
· Don't include wspiapi.h, fixing a compiler warning (fd.o #68852, |
| 258 |
Simon McVittie) |
| 259 |
|
| 260 |
• Internal changes: |
| 261 |
· add DBUS_ENABLE_ASSERT, DBUS_ENABLE_CHECKS for less confusing |
| 262 |
conditionals (fd.o #66142, Chengwei Yang) |
| 263 |
· improve verbose-mode output (fd.o #63047, Colin Walters) |
| 264 |
· consolidate Autotools and CMake build (fd.o #64875, Ralf Habacker) |
| 265 |
· fix various unused variables, unusual build configurations |
| 266 |
etc. (fd.o #65712, #65990, #66005, #66257, #69165, #69410, #70218; |
| 267 |
Chengwei Yang, Vasiliy Balyasnyy) |
| 268 |
|
| 269 |
D-Bus 1.7.4 (2013-06-13) |
| 270 |
== |
| 271 |
|
| 272 |
The “but is your thread-safety thread-safe?” release. |
| 273 |
|
| 274 |
Security fixes: |
| 275 |
|
| 276 |
• CVE-2013-2168: Fix misuse of va_list that could be used as a denial |
| 277 |
of service for system services. Vulnerability reported by Alexandru Cornea. |
| 278 |
(Simon) |
| 279 |
|
| 280 |
Dependencies: |
| 281 |
|
| 282 |
• The Windows version of libdbus now contains a C++ source file, used |
| 283 |
to provide global initialization when the library is loaded. |
| 284 |
gcc (mingw*) users should ensure that g++ is also installed. |
| 285 |
|
| 286 |
• The libxml2-based configuration reader (which hasn't worked for 2.5 years, |
| 287 |
and was never the recommended option) has been removed. Expat is now a |
| 288 |
hard dependency. |
| 289 |
|
| 290 |
Enhancements: |
| 291 |
|
| 292 |
• It should now be safe to call dbus_threads_init_default() from any thread, |
| 293 |
at any time. Authors of loadable modules and plugins that use libdbus |
| 294 |
should consider doing so during initialization. |
| 295 |
(fd.o #54972, Simon McVittie) |
| 296 |
|
| 297 |
• Improve dbus-send documentation and command-line parsing (fd.o #65424, |
| 298 |
Chengwei Yang) |
| 299 |
|
| 300 |
Unix-specific: |
| 301 |
· dbus-run-session: experimental new tool to start a temporary D-Bus |
| 302 |
session, e.g. for regression tests or a text console, replacing |
| 303 |
certain uses of dbus-launch which weren't really correct |
| 304 |
(fd.o #39196, Simon) |
| 305 |
|
| 306 |
Other fixes: |
| 307 |
|
| 308 |
• In dbus-daemon, don't crash if a .service file starts with key=value |
| 309 |
(fd.o #60853, Chengwei Yang) |
| 310 |
|
| 311 |
• Unix-specific: |
| 312 |
· Fix a crash similar to CVE-2013-2168 the first time we try to use syslog |
| 313 |
on a platform not defining LOG_PERROR, such as Solaris or QNX. |
| 314 |
This regressed in 1.7.0. (Simon) |
| 315 |
· Fix an assertion failure if we try to activate systemd services before |
| 316 |
systemd connects to the bus (fd.o #50199, Chengwei Yang) |
| 317 |
· Avoid compiler warnings for ignoring the return from write() |
| 318 |
(Chengwei Yang) |
| 319 |
|
| 320 |
• Windows-specific: |
| 321 |
· Under cmake, install runtime libraries (DLLs) into bin/ instead of lib/ |
| 322 |
so that Windows finds them (fd.o #59733, Ralf Habacker) |
| 323 |
|
| 324 |
D-Bus 1.7.2 (2013-04-25) |
| 325 |
== |
| 326 |
|
| 327 |
The “only partially opaque” release. |
| 328 |
|
| 329 |
Configuration changes: |
| 330 |
|
| 331 |
• On non-QNX Unix platforms, the default limit on fds per message in the |
| 332 |
session bus configuration has reduced from 4096 to 1024. The default |
| 333 |
limit used on the system bus was already 1024. On QNX, both limits are |
| 334 |
reduced further, to 128. |
| 335 |
|
| 336 |
Enhancements: |
| 337 |
|
| 338 |
• D-Bus Specification 0.21 |
| 339 |
· Following Unicode Corrigendum #9, the noncharacters U+nFFFE, U+nFFFF, |
| 340 |
U+FDD0..U+FDEF are allowed in UTF-8 strings again. (fd.o #63072, |
| 341 |
Simon McVittie) |
| 342 |
|
| 343 |
Fixes: |
| 344 |
|
| 345 |
• Diagnose incorrect use of dbus_connection_get_data() with negative slot |
| 346 |
(i.e. before allocating the slot) rather than returning junk |
| 347 |
(fd.o #63127, Dan Williams) |
| 348 |
|
| 349 |
• Fix a cmake build regression since 1.7.0 (fd.o #63682; Ralf Habacker, |
| 350 |
Simon McVittie) |
| 351 |
|
| 352 |
• Unix-specific: |
| 353 |
· On Linux, link successfully with glibc 2.17 (fd.o #63166, Simon McVittie) |
| 354 |
· Under systemd, log to syslog only, not stderr, avoiding duplication |
| 355 |
(fd.o #61399, #39987; Colin Walters, Dagobert Michelsen) |
| 356 |
· Under systemd, remove unnecessary dependency on syslog.socket |
| 357 |
(fd.o #63531, Cristian Rodríguez) |
| 358 |
· Include alloca.h for alloca() if available, fixing compilation on |
| 359 |
Solaris 10 (fd.o #63071, Dagobert Michelsen) |
| 360 |
· Allow use of systemd-logind without the rest of systemd |
| 361 |
(fd.o #62585, Martin Pitt) |
| 362 |
· When built with CMake, link to librt and use the right path for |
| 363 |
meinproc's XSLT stylesheets (fd.o #61637, Ralf Habacker) |
| 364 |
· Reduce the default limit on number of fds per message to 128 under |
| 365 |
QNX, working around an arbitrary OS limit (fd.o #61176, Matt Fischer) |
| 366 |
|
| 367 |
• Windows-specific: |
| 368 |
· Do not claim that all bus clients have the dbus-daemon's credentials; |
| 369 |
pick up local TCPv4 clients' credentials (process ID and security |
| 370 |
identifier, i.e. user) using GetExtendedTcpTable() (fd.o #61787, |
| 371 |
Ralf Habacker) |
| 372 |
|
| 373 |
D-Bus 1.7.0 (2013-02-22) |
| 374 |
== |
| 375 |
|
| 376 |
The "Disingenuous Assertions" release. |
| 377 |
|
| 378 |
This is a new development release, starting the 1.7.x branch. D-Bus 1.6 |
| 379 |
remains the recommended version for long-term-supported distributions |
| 380 |
or the upcoming GNOME 3.8 release. |
| 381 |
|
| 382 |
Build-time configuration changes: |
| 383 |
|
| 384 |
• The --with-dbus-session-bus-default-address configure option is no longer |
| 385 |
supported. Use the new --with-dbus-session-bus-connect-address and |
| 386 |
--with-dbus-session-bus-listen-address options instead. On Windows, you |
| 387 |
usually want them to have the same argument; on Unix, the defaults are |
| 388 |
usually correct. |
| 389 |
|
| 390 |
• Similarly, the DBUS_SESSION_BUS_DEFAULT_ADDRESS CMake variable is no longer |
| 391 |
supported; use the new DBUS_SESSION_BUS_LISTEN_ADDRESS and |
| 392 |
DBUS_SESSION_BUS_CONNECT_ADDRESS variables instead. |
| 393 |
|
| 394 |
• cmake/cross-compile.sh has been removed. Instead, please use a |
| 395 |
cross-toolchain file (-DCMAKE_TOOLCHAIN_FILE) as documented at |
| 396 |
<http://www.vtk.org/Wiki/CMake_Cross_Compiling>; or use Autotools |
| 397 |
as documented in "info automake Cross-Compilation", and set |
| 398 |
PKG_CONFIG_PATH appropriately. |
| 399 |
|
| 400 |
Requirements: |
| 401 |
|
| 402 |
• Man pages now require xmlto (or either xmlto or meinproc, if using CMake). |
| 403 |
• man2html is no longer used. |
| 404 |
|
| 405 |
Enhancements: |
| 406 |
|
| 407 |
• D-Bus Specification 0.20 |
| 408 |
· actually say that /org/freedesktop/DBus is the object that |
| 409 |
implements o.fd.DBus (fd.o #51865, Colin Walters) |
| 410 |
· various reorganisation for better clarity (fd.o #38252, Simon McVittie) |
| 411 |
· stop claiming that all basic types work just like INT32 (strings don't!) |
| 412 |
|
| 413 |
• The "source code" for the man pages is now Docbook XML, eliminating |
| 414 |
the outdated duplicate copies used when building with CMake. |
| 415 |
(fd.o #59805; Ralf Habacker, Simon McVittie) |
| 416 |
|
| 417 |
Fixes: |
| 418 |
|
| 419 |
• In the activation helper, when compiled for tests, do not reset the system |
| 420 |
bus address, fixing the regression tests. (fd.o #52202, Simon) |
| 421 |
|
| 422 |
• Fix building with Valgrind 3.8, at the cost of causing harmless warnings |
| 423 |
with Valgrind 3.6 on some compilers (fd.o #55932, Arun Raghavan) |
| 424 |
|
| 425 |
• Merge <servicehelper> from system-local.conf if necessary (fd.o #51560, |
| 426 |
Krzysztof Konopko) |
| 427 |
|
| 428 |
• Under CMake, prefer xmlto over meinproc (fd.o #59733, Ralf Habacker) |
| 429 |
|
| 430 |
• Stop duplicating CMake's own logic to find libexpat |
| 431 |
(fd.o #59733, Ralf Habacker) |
| 432 |
|
| 433 |
• Don't assume CMake host and build system are the same (fd.o #59733, |
| 434 |
Ralf Habacker) |
| 435 |
|
| 436 |
• Avoid deprecation warnings for GLib 2.35 (fd.o #59971, Simon McVittie) |
| 437 |
|
| 438 |
• Unix-specific: |
| 439 |
· Check for functions in libpthread correctly, fixing compilation on |
| 440 |
(at least) OpenBSD (fd.o #47239, Simon) |
| 441 |
· Don't leak temporary fds pointing to /dev/null (fd.o #56927, |
| 442 |
Michel HERMIER) |
| 443 |
· Update sd-daemon.[ch] from systemd (fd.o #60681) |
| 444 |
· Add partial support for QNX (fd.o #60339, fd.o #61176; Matt Fischer) |
| 445 |
|
| 446 |
• Windows-specific: |
| 447 |
· The default session bus listening and connecting address is now |
| 448 |
"autolaunch:", which makes D-Bus on Windows interoperate with itself |
| 449 |
and GDBus "out of the box". Use the configure options and cmake variables |
| 450 |
described above if you require a different autolaunch scope. |
| 451 |
(fd.o #38201, Simon McVittie) |
| 452 |
· Avoid a CMake warning under Cygwin (fd.o #59401, Ralf Habacker) |
| 453 |
|
| 454 |
• Create session.d, system.d directories under CMake (fd.o #41319, |
| 455 |
Ralf Habacker) |
| 456 |
|
| 457 |
D-Bus 1.6.8 (2012-09-28) |
| 458 |
== |
| 459 |
|
| 460 |
The "Fix one thing, break another" release. |
| 461 |
|
| 462 |
• Follow up to CVE-2012-3524: The additional hardening |
| 463 |
work to use __secure_getenv() as a followup to bug #52202 |
| 464 |
broke certain configurations of gnome-keyring. Given |
| 465 |
the difficulty of making this work without extensive |
| 466 |
changes to gnome-keyring, use of __secure_getenv() is |
| 467 |
deferred. |
| 468 |
|
| 469 |
D-Bus 1.6.6 (2012-09-28) |
| 470 |
== |
| 471 |
|
| 472 |
The "Clear the environment in your setuid binaries, please" release. |
| 473 |
|
| 474 |
• CVE-2012-3524: Don't access environment variables (fd.o #52202) |
| 475 |
Thanks to work and input from Colin Walters, Simon McVittie, |
| 476 |
Geoffrey Thomas, and others. |
| 477 |
• Unix-specific: |
| 478 |
· Fix compilation on Solaris (fd.o #53286, Jonathan Perkin) |
| 479 |
· Work around interdependent headers on OpenBSD by including sys/types.h |
| 480 |
before each use of sys/socket.h (fd.o #54418, Brad Smith) |
| 481 |
|
| 482 |
D-Bus 1.6.4 (2012-07-18) |
| 483 |
== |
| 484 |
|
| 485 |
• Detect that users are "at the console" correctly when configured with |
| 486 |
a non-default path such as --enable-console-auth-dir=/run/console |
| 487 |
(fd.o #51521, Dave Reisner) |
| 488 |
|
| 489 |
• Remove an incorrect assertion from DBusTransport (fd.o #51657, |
| 490 |
Simon McVittie) |
| 491 |
|
| 492 |
• Make --enable-developer default to "no" (regression in 1.6.2; |
| 493 |
fd.o #51657, Simon McVittie) |
| 494 |
|
| 495 |
• Windows-specific: |
| 496 |
· Launch dbus-daemon correctly if its path contains a space |
| 497 |
(fd.o #49450, Wolfgang Baron) |
| 498 |
|
| 499 |
D-Bus 1.6.2 (2012-06-27) |
| 500 |
== |
| 501 |
|
| 502 |
The "Ice Cabbage" release. |
| 503 |
|
| 504 |
• Change how we create /var/lib/dbus so it works under Automake >= 1.11.4 |
| 505 |
(fd.o #51406, Simon McVittie) |
| 506 |
|
| 507 |
• Don't return from dbus_pending_call_set_notify with a lock held on OOM |
| 508 |
(fd.o #51032, Simon McVittie) |
| 509 |
|
| 510 |
• Disconnect "developer mode" (assertions, verbose mode etc.) from |
| 511 |
Automake maintainer mode. D-Bus developers should now configure with |
| 512 |
--enable-developer. Automake maintainer mode is now on by default; |
| 513 |
distributions can disable it with --disable-maintainer-mode. |
| 514 |
(fd.o #34671, Simon McVittie) |
| 515 |
|
| 516 |
• Automatically define DBUS_STATIC_BUILD in static-only Autotools builds, |
| 517 |
fixing linking when targeting Windows (fd.o #33973; william, Simon McVittie) |
| 518 |
|
| 519 |
• Unix-specific: |
| 520 |
· Check for libpthread under CMake on Unix (fd.o #47237, Simon McVittie) |
| 521 |
|
| 522 |
D-Bus 1.6.0 (2012-06-05) |
| 523 |
== |
| 524 |
|
| 525 |
The “soul of this machine has improved” release. |
| 526 |
|
| 527 |
This version starts a new stable branch of D-Bus: only bug fixes will |
| 528 |
be accepted into 1.6.x. Other changes will now go to the 1.7.x branch. |
| 529 |
|
| 530 |
Summary of changes since 1.4.x: |
| 531 |
|
| 532 |
• New requirements |
| 533 |
· PTHREAD_MUTEX_RECURSIVE on Unix |
| 534 |
· compiler support for 64-bit integers (int64_t or equivalent) |
| 535 |
|
| 536 |
• D-Bus Specification v0.19 |
| 537 |
|
| 538 |
• New dbus-daemon features |
| 539 |
· <allow own_prefix="com.example.Service"/> rules allow the service to |
| 540 |
own names like com.example.Service.Instance3 |
| 541 |
· optional systemd integration when checking at_console policies |
| 542 |
· --nopidfile option, mainly for use by systemd |
| 543 |
· path_namespace and arg0namespace may appear in match rules |
| 544 |
· eavesdropping is disabled unless the match rule contains eavesdrop=true |
| 545 |
|
| 546 |
• New public API |
| 547 |
· functions to validate various string types (dbus_validate_path() etc.) |
| 548 |
· dbus_type_is_valid() |
| 549 |
· DBusBasicValue, a union of every basic type |
| 550 |
|
| 551 |
• Bug fixes |
| 552 |
· removed an unsafe reimplementation of recursive mutexes |
| 553 |
· dbus-daemon no longer busy-loops if it has far too many file descriptors |
| 554 |
· dbus-daemon.exe --print-address works on Windows |
| 555 |
· all the other bug fixes from 1.4.20 |
| 556 |
|
| 557 |
• Other major implementation changes |
| 558 |
· on Linux, dbus-daemon uses epoll if supported, for better scalability |
| 559 |
· dbus_threads_init() ignores its argument and behaves like |
| 560 |
dbus_threads_init_default() instead |
| 561 |
· removed the per-connection link cache, improving dbus-daemon performance |
| 562 |
|
| 563 |
• Developer features |
| 564 |
· optional Valgrind instrumentation (--with-valgrind) |
| 565 |
· optional Stats interface on the dbus-daemon (--enable-stats) |
| 566 |
· optionally abort whenever malloc() fails (--enable-embedded-tests |
| 567 |
and export DBUS_MALLOC_CANNOT_FAIL=1) |
| 568 |
|
| 569 |
Changes since 1.5.12: |
| 570 |
|
| 571 |
• Be more careful about monotonic time vs. real time, fixing DBUS_COOKIE_SHA1 |
| 572 |
spec-compliance (fd.o #48580, David Zeuthen) |
| 573 |
|
| 574 |
• Don't use install(1) within the source/build trees, fixing the build as |
| 575 |
non-root when using OpenBSD install(1) (fd.o #48217, Antoine Jacoutot) |
| 576 |
|
| 577 |
• Add missing commas in some tcp and nonce-tcp addresses, and remove |
| 578 |
an unused duplicate copy of the nonce-tcp transport in Windows builds |
| 579 |
(fd.o #45896, Simon McVittie) |