1. 02 1月, 2017 1 次提交
  2. 22 12月, 2016 1 次提交
    • A
      m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros · e64f2fab
      Andrea Bolognani 提交于
      LIBVIRT_ARG_WITH_ALT is more generic than LIBVIRT_ARG_WITH, which
      is tailored at switching features on and off.
      
      Rename the macros according to their intended purpose, and add
      some documentation to help developers pick between the two.
      e64f2fab
  3. 21 12月, 2016 2 次提交
  4. 09 4月, 2016 1 次提交
  5. 30 3月, 2016 1 次提交
    • R
      nss: FreeBSD support · 45408cd8
      Roman Bogorodskiy 提交于
       * tools/nss/libvirt_nss.[ch]: add BSD-comptabile wrappers and
         register via the nss_module_register() interface
       * m4/virt-nss.m4: add checks if we're building NSS for FreeBSD
       * tools/Makefile.am: handle target library name differences, as
         Linux needs libnss_libvirt.so.2 and FreeBSD needs
         nss_libvirt.so.1. Also, different syms files have to be used
         as Linux needs to export all the methods while FreeBSD
         only needs to have nss_module_register()
       * tests/nsstest.c, tests/nssmock.c: s/__linux__/NSS/
       * tests/nssmock.c: pass int instead of mode_t to va_arg() to please
         gcc 4.8
       * libvirt_nss_bsd.syms: FreeBSD syms file
      45408cd8
  6. 19 3月, 2016 1 次提交
    • M
      Initial support for NSS plugin skeleton · 859cb18d
      Michal Privoznik 提交于
      Name Service Switch is a glibc feature responsible for many
      things. Translating domain names into IP addresses and vice versa
      is just one of them. However, currently it's the only
      functionality that this commit is tickling. Well, in this commit
      the plugin skeleton is introduced. Implementation to come in next
      patches.
      Because of the future testing, where the implementation is to be
      linked with a test, this needs to go into static library. Linking
      a program with an .so statically is not portable. Therefore a
      dummy libnss_libvirt_impl library is being introduced too.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      859cb18d