[PATCH v3 0/7] NSS module for libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v3 of:

https://www.redhat.com/archives/libvir-list/2016-February/msg00693.html

diff to v2:
- don't link against libvirt.la rather than create a separate small lib to link
  with
- teach nsstest to check multiple addresses

Note that patches 1..4 have been ACKed already, but I'm sending them anyway for
completeness.

Michal Privoznik (7):
  Export virLease* functions for leases file handling
  virjson: Resolve const correctness
  Initial support for NSS plugin skeleton
  libvirt.spec.in: Introduce libvirt-nss package
  nss: Implement _nss_libvirt_gethostbyname3_r
  Implement _nss_libvirt_gethostbyname4_r
  nss: Introduce a test

 cfg.mk                      |   2 +-
 config-post.h               |  21 ++
 configure.ac                |   2 +
 libvirt.spec.in             |  21 ++
 m4/virt-nss.m4              |  51 +++++
 po/POTFILES.in              |   1 +
 src/Makefile.am             |  67 +++++++
 src/libvirt_private.syms    |   6 +
 src/network/leaseshelper.c  | 271 +------------------------
 src/util/virfile.c          |   2 +-
 src/util/virjson.c          |  58 +++---
 src/util/virjson.h          |  54 ++---
 src/util/virlease.c         | 304 ++++++++++++++++++++++++++++
 src/util/virlease.h         |  44 ++++
 tests/Makefile.am           |  20 +-
 tests/nssdata/virbr0.status |  20 ++
 tests/nssmock.c             | 140 +++++++++++++
 tests/nsstest.c             | 188 +++++++++++++++++
 tools/Makefile.am           |  44 ++++
 tools/nss/libvirt_nss.c     | 476 ++++++++++++++++++++++++++++++++++++++++++++
 tools/nss/libvirt_nss.h     |  52 +++++
 tools/nss/libvirt_nss.syms  |  12 ++
 22 files changed, 1527 insertions(+), 329 deletions(-)
 create mode 100644 m4/virt-nss.m4
 create mode 100644 src/util/virlease.c
 create mode 100644 src/util/virlease.h
 create mode 100644 tests/nssdata/virbr0.status
 create mode 100644 tests/nssmock.c
 create mode 100644 tests/nsstest.c
 create mode 100644 tools/nss/libvirt_nss.c
 create mode 100644 tools/nss/libvirt_nss.h
 create mode 100644 tools/nss/libvirt_nss.syms

-- 
2.4.10

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]