1. 07 8月, 2019 3 次提交
  2. 03 4月, 2019 1 次提交
  3. 21 1月, 2019 1 次提交
  4. 05 12月, 2018 1 次提交
  5. 13 8月, 2018 2 次提交
  6. 18 7月, 2018 2 次提交
  7. 16 5月, 2018 1 次提交
  8. 03 11月, 2017 1 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3
  9. 11 7月, 2017 2 次提交
    • D
      Require use of GCC 4.4 or CLang compilers · 24241c23
      Daniel P. Berrange 提交于
      We only ever test libvirt with GCC or CLang which provides a
      GCC compatible compilation environment. Between them, these
      compilers cover every important operating system platform,
      even Windows.
      
      Mandate their use to make it explicit that we don't care about
      compilers like Microsoft VCC or other UNIX vendor C compilers.
      
      GCC 4.4 was picked as the baseline, since RHEL-6 ships 4.4.7
      and that lets us remove a large set of checks. There is a slight
      issue that CLang reports itself as GCC 4.2, so we must also check
      if __clang__ is defined. We could check a particular CLang version
      too, but that would require someone to figure out a suitable min
      version which is fun because OS-X reports totally different CLang
      version numbers from CLang builds on Linux/BSD
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      24241c23
    • D
      Remove duplicate define of __GNUC_PREREQ · 83b98f19
      Daniel P. Berrange 提交于
      Back in this commit:
      
        commit b436a8ae
        Author: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
        Date:   Thu Jun 9 00:50:35 2016 +0000
      
          gnulib: add getopt module
      
      config-post.h was modified to define __GNUC_PREREQ, but the
      original definition was never removed from internal.h, and
      that is now dead code since config.h is always the first file
      included.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      83b98f19
  10. 21 12月, 2016 1 次提交
  11. 15 12月, 2016 1 次提交
  12. 15 11月, 2016 1 次提交
    • P
      libssh_transport: add new libssh-based transport · 6917467c
      Pino Toscano 提交于
      Implement a new libssh transport, which uses libssh to communicate with
      remote hosts, and add all the build system stuff (search of libssh,
      private symbols, etc) to built it.
      
      This new transport supports all the common ssh authentication methods,
      making use of libvirt's auth callbacks for interaction with the user.
      6917467c
  13. 21 9月, 2016 1 次提交
  14. 11 7月, 2016 1 次提交
    • F
      gnulib: add getopt module · b436a8ae
      Fabian Freyer 提交于
      Unconditionally use gnulib's getopt module. This is needed by the bhyve driver
      to provide a reentrant interface for getopt.
      
      Several gnulib headers rely on features.h being included by ctype.h to provide
      __GNUC_PREREQ, but on systems without glibc, this is not provided. In these
      cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks
      in src/internal.h.
      Therefore, define __GNUC_PREREQ as early as possible. config-post.h is probably
      the first header that is included, before any other headers.
      b436a8ae
  15. 10 6月, 2016 1 次提交
  16. 19 3月, 2016 1 次提交
  17. 22 10月, 2013 1 次提交
    • J
      build: fix build of virt-login-shell on systems with older gnutls · 843bdb2f
      Jim Fehlig 提交于
      On systems where gnutls uses libgcrypt, I'm seeing the following
      build failure
      
      libvirt.c:314: error: variable 'virTLSThreadImpl' has initializer but incomplete type
      libvirt.c:319: error: 'GCRY_THREAD_OPTION_PTHREAD' undeclared here (not in a function)
      ...
      
      Fix by undefining WITH_GNUTLS_GCRYPT in config-post.h
      843bdb2f
  18. 21 10月, 2013 1 次提交
    • D
      Don't link virt-login-shell against libvirt.so (CVE-2013-4400) · 3e2f27e1
      Daniel P. Berrange 提交于
      The libvirt.so library has far too many library deps to allow
      linking against it from setuid programs. Those libraries can
      do stuff in __attribute__((constructor) functions which is
      not setuid safe.
      
      The virt-login-shell needs to link directly against individual
      files that it uses, with all library deps turned off except
      for libxml2 and libselinux.
      
      Create a libvirt-setuid-rpc-client.la library which is linked
      to by virt-login-shell. A config-post.h file allows this library
      to disable all external deps except libselinux and libxml2.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      3e2f27e1