1. 17 10月, 2013 4 次提交
    • 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
    • C
      virsh: fix a typo in virsh-domain · 55da0993
      Chen Hanxiao 提交于
      s/it's/its
      Signed-off-by: NChen Hanxiao <chenhanxiao@cn.fujitsu.com>
      55da0993
    • G
      build: use the gnulib version of the .m4 files when present · 70dadfa7
      Giuseppe Scrivano 提交于
      prevent aclocal from preferring .m4 files under m4/ over the version
      provided by gnulib, by using only one directory.
      
      I have noticed this after './configure --help' gave me two different
      versions of "--enable-threads".  This was caused by aclocal that
      preferred the version of lock.m4 provided by autopoint instead of
      using the newer version distributed with gnulib.
      
      Having two different directories made sense back when we checked
      gnulib files into libvirt.git, but that was ages ago.
      Signed-off-by: NGiuseppe Scrivano <gscrivan@redhat.com>
      Signed-off-by: NEric Blake <eblake@redhat.com>
      70dadfa7
    • E
      storage: allow interleave in pool XML · caf516db
      Eric Blake 提交于
      The RNG grammar did not allow arbitrary interleaving, which makes
      it harder than necessary to create a new pool from handwritten XML.
      
      * docs/schemas/storagepool.rng: Allow interleaving.
      * tests/storagepoolxml2xmlin/pool-sheepdog.xml: Test interleave.
      * tests/storagepoolxml2xmlin/pool-iscsi-auth.xml: Likewise.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      caf516db
  2. 16 10月, 2013 15 次提交
  3. 15 10月, 2013 21 次提交