[PATCH v2 0/7] NSS module for libvirt

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

 



v2 of:

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

diff to v1:
- Rework to return multiple IPs instead of the first one found
- Move the module into libvirt-nss rpm package
- Fix linking (drop libvirt_util.la from LDADD)

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 +-
 configure.ac                |   2 +
 libvirt.spec.in             |  21 ++
 m4/virt-nss.m4              |  51 +++++
 po/POTFILES.in              |   1 +
 src/Makefile.am             |   1 +
 src/libvirt_private.syms    |   6 +
 src/network/leaseshelper.c  | 271 +------------------------
 src/util/virjson.c          |  58 +++---
 src/util/virjson.h          |  54 ++---
 src/util/virlease.c         | 304 ++++++++++++++++++++++++++++
 src/util/virlease.h         |  44 ++++
 tests/Makefile.am           |  18 ++
 tests/nssdata/virbr0.status |  14 ++
 tests/nssmock.c             | 140 +++++++++++++
 tests/nsstest.c             | 184 +++++++++++++++++
 tools/Makefile.am           |  44 ++++
 tools/nss/libvirt_nss.c     | 476 ++++++++++++++++++++++++++++++++++++++++++++
 tools/nss/libvirt_nss.h     |  52 +++++
 tools/nss/libvirt_nss.syms  |  12 ++
 20 files changed, 1428 insertions(+), 327 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]