1. 27 Jun, 2017 1 commit
  2. 12 May, 2015 1 commit
  3. 05 May, 2015 1 commit
  4. 18 Feb, 2015 1 commit
  5. 15 Sep, 2014 2 commits
  6. 08 Oct, 2013 1 commit
  7. 23 Aug, 2013 6 commits
  8. 22 Aug, 2013 4 commits
  9. 28 Jun, 2013 1 commit
  10. 08 Mar, 2013 1 commit
  11. 03 Jul, 2012 1 commit
  12. 21 Feb, 2012 2 commits
  13. 04 Jan, 2012 1 commit
    • Simon McVittie's avatar
      Revert all changes since a36d4918 · 5df8c3db
      Simon McVittie authored
      Someone seems to have merged part of master into 1.4. Again. Let's go
      back to the "last known good" point (the branch-point of some 1.4
      branches I had locally), then we can cherry-pick the changes that
      should have gone in.
      5df8c3db
  14. 28 Jul, 2011 2 commits
  15. 24 Jun, 2011 2 commits
  16. 16 Feb, 2011 1 commit
    • Simon McVittie's avatar
      DBusTransport: don't copy DBusAuth's GUID to expected_guid · 2acfe412
      Simon McVittie authored
      There was previously a leak in _dbus_transport_get_is_authenticated, if
      we hit OOM when copying the server's actual GUID. This would fail the
      "SHA1 connection test" if _dbus_iterate was modified to allocate and free
      one extra pointer per iteration.
      
      Rather than adding OOM handling everywhere, if we avoid strdup'ing the
      GUID, and just re-fetch the const string from the DBusAuth object on demand
      instead, we go back to a situation where _dbus_transport_get_is_authenticated
      can't fail.
      
      Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33126
      2acfe412
  17. 27 Sep, 2010 1 commit
  18. 27 Mar, 2010 1 commit
  19. 19 Mar, 2010 1 commit
  20. 28 Jan, 2010 1 commit
  21. 30 Nov, 2009 2 commits
  22. 14 Jul, 2009 1 commit
  23. 10 Jul, 2009 1 commit
  24. 20 May, 2009 3 commits
    • Lennart Poettering's avatar
      unix-fd: add logic to count unix fds the same way as allocated memory · bfad3242
      Lennart Poettering authored
      This make all counters count both bytes of memory and unix fds.
      bfad3242
    • Lennart Poettering's avatar
      auth: add fd passing negotiation support · c200e030
      Lennart Poettering authored
      This adds two new directives to the auth protocol:
      
      NEGOTIATE_UNIX_FD is sent by the client after the authentication was
      sucessful, i.e. OK was received.
      
      AGREE_UNIX_FD is then sent by the server if it can do unix fd passing as
      well.
      
      ERROR is returned when the server cannot or is unwilling to do unix fd
      passing.
      
      This should be compatible with existing D-Bus implementations which will
      naturally return ERROR on NEGOTIATE_UNIX_FD.
      c200e030
    • Lennart Poettering's avatar
      unix-fd: add message encoding/decoding for unix fds · a0cc21f8
      Lennart Poettering authored
      When appending unix fds to the message a new entry in the fd array will
      be allocated and the index to it will be written to the message payload.
      
      When parsing unix fds from the message the index will be read from the
      payload and then looked up in the fd array.
      
      When we read fds we put them in a queue first. Since each message knows
      how many fds are attached to it we will then pop enough fds from this
      queue each time we decode a message from the stream.
      
      This should make sending and receiving more portable since we don't make
      any strong requirements on the exact semantics of the SCM_RIGHTS
      implementation: as long as fds are recieved in order, none or lost and
      the arrive at the same time as at least one byte from the actual message
      dat we should be able to handle them correctly.
      a0cc21f8
  25. 06 May, 2009 1 commit