1. 22 10月, 2013 4 次提交
  2. 21 10月, 2013 19 次提交
  3. 19 10月, 2013 2 次提交
  4. 18 10月, 2013 12 次提交
  5. 17 10月, 2013 3 次提交
    • D
      Add support for enabling SASL for SPICE guests · 291a6ef3
      Daniel P. Berrange 提交于
      QEMU has support for SASL auth for SPICE guests, but libvirt
      has no way to enable it. Following the example from VNC where
      it is globally enabled via qemu.conf
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      291a6ef3
    • M
      qemuDomainCleanupRemove: s/memmove/VIR_DELETE_ELEMENT_INPLACE/ · ac5f3f29
      Michal Privoznik 提交于
      The last argument of memmove is the amount of bytes to be moved. The
      amount is in Bytes. We are moving some void pointers around. However,
      since sizeof(void *) is not Byte on any architecture, we've got the
      arithmetic wrong.
      ac5f3f29
    • B
      better error checking for LOCAL_PEERCRED · aa0f0992
      Brian Candler 提交于
      This patch improves the error checking in the LOCAL_PEERCRED version
      of virNetSocketGetUNIXIdentity, used by FreeBSD and Mac OSX.
      
      1. The error return paths now correctly unlock the socket. This is
      implemented in exactly the same way as the SO_PEERCRED version,
      using "goto cleanup"
      
      2. cr.cr_ngroups is initialised to -1, and cr.cr_ngroups is checked
      for negative and overlarge values.
      
      This means that if the getsockopt() call returns success but doesn't
      actually update the xucred structure, this is now caught. This
      happened previously when getsockopt was called with SOL_SOCKET
      instead of SOL_LOCAL, prior to commit 5a468b38, and resulted in
      random uids being accepted.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      aa0f0992