1. 19 Feb, 2010 1 commit
  2. 18 Feb, 2010 2 commits
  3. 08 Feb, 2010 1 commit
  4. 03 Feb, 2010 1 commit
  5. 02 Feb, 2010 4 commits
    • Colin Walters's avatar
      Fix compilation in --disable-selinux case · 3dac125d
      Colin Walters authored
      _dbus_change_to_daemon_user moved into selinux.c for the --with-selinux
      (and audit) case because that's where all of the relevant libcap headers
      were being used.  However in the --disable-selinux case this didn't
      compile and wasn't very clean.
      
      If we don't have libaudit, use the legacy direct setgid/setuid bits
      we had before in dbus-sysdeps-util-unix.c.
      3dac125d
    • Colin Walters's avatar
      Fix inotify shutdown · 90fe96b1
      Colin Walters authored
      We were incorrectly passing NULL for a DBusList when the usage expected
      is a pointer to a NULL DBusList pointer.  Also during dbus_shutdown
      we need to actually close the inotify fd, and remove our watch.
      
      Move the shutdown handler out of bus.c and into inotify where we
      can do all of this cleanly.
      90fe96b1
    • Colin Walters's avatar
      Release 1.2.18 · a7169e69
      Colin Walters authored
      a7169e69
    • Tom Hughes's avatar
      Use monotonic clock for _dbus_get_current_time() if it's available. · 1c6596eb
      Tom Hughes authored
      _dbus_get_current_time() is used for timeouts, but uses gettimeofday(), which
      relies on the wall clock time, which can change. If the time is changed forwards
      or backwards, the timeouts are no longer valid, so the monotonic clock must be used.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=25624
      
      Signed-off-by: Colin Walters's avatarColin Walters <walters@verbum.org>
      1c6596eb
  6. 01 Feb, 2010 3 commits
    • Colin Walters's avatar
      Don't crash when reloading if we haven't loaded user database yet · 0607bdb6
      Colin Walters authored
      The user database is populated on-demand, but the cache dropping
      code assumed it had been initialized.  Simply check for NULL.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=26182
      0607bdb6
    • Colin Walters's avatar
      Move system-activation.txt into non-conditional EXTRA_DIST · e59db9df
      Colin Walters authored
      It doesn't depend on the XML doc generation.
      e59db9df
    • Colin Walters's avatar
      Clean up inotify watch handling · 8a9880ff
      Colin Walters authored
      Substantially based on a patch by Matthias Clasen <mclasen@redhat.com>
      kqueue implementation by Joe Marcus Clarke <marcus@freebsd.org>
      
      Previously, when we detected a configuration change (which included
      the set of config directories to monitor for changes), we would
      simply drop all watches, then readd them.
      
      The problem with this is that it introduced a race condition where
      we might not be watching one of the config directories for changes.
      
      Rather than dropping and readding, change the OS-dependent monitoring
      API to simply take a new set of directories to monitor.  Implicit
      in this is that the OS-specific layer needs to keep track of the
      previously monitored set.
      8a9880ff
  7. 28 Jan, 2010 14 commits
  8. 18 Dec, 2009 1 commit
  9. 16 Oct, 2009 1 commit
  10. 18 Sep, 2009 1 commit
  11. 31 Jul, 2009 2 commits
    • Lennart Poettering's avatar
      dbus-monitor: use unbuffered stdout instead of handling SIGINT · 43b1f918
      Lennart Poettering authored
      
      
      The current SIGINT handling of dbus-monitor ain't making too many people
      happy since it defers the exit to the next msg received -- which might
      be quite some time away often enough.
      
      This patch replaces the SIGINT handling by simply enabling line-buffered
      IO for STDOUT so that even if you redirect dbus-monitor into a file no
      lines get accidently lost and the effect of C-c is still immediate.
      
      halfline came up with the great idea to use setvbuf here instead of
      fflush()ing after each printf().
      
      (Oh and the old signal handler was broken anyway, the flag should have
      been of type sigatomic_t and be marked volatile)
      Signed-off-by: Colin Walters's avatarColin Walters <walters@verbum.org>
      43b1f918
    • Colin Walters's avatar
      Bug 22805 - Fix build with -Wl,--as-needed · 1116f210
      Colin Walters authored
      Explicitly link dbus_convenience.la against DBUS_CLIENT_LIBS
      because it uses $THREAD_LIBS, just like the main library does.
      1116f210
  12. 16 Jul, 2009 1 commit
  13. 15 Jul, 2009 1 commit
  14. 14 Jul, 2009 7 commits