[libvirt] [PATCH v2 3/7] Initial support for NSS plugin skeleton
Daniel P. Berrange
berrange at redhat.com
Fri Feb 26 17:56:14 UTC 2016
On Thu, Feb 18, 2016 at 03:21:03PM +0100, Michal Privoznik wrote:
> 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: Michal Privoznik <mprivozn at redhat.com>
> ---
> configure.ac | 2 ++
> m4/virt-nss.m4 | 51 ++++++++++++++++++++++++++++++++++++++++++++++
> tools/Makefile.am | 39 +++++++++++++++++++++++++++++++++++
> tools/nss/libvirt_nss.c | 36 ++++++++++++++++++++++++++++++++
> tools/nss/libvirt_nss.h | 36 ++++++++++++++++++++++++++++++++
> tools/nss/libvirt_nss.syms | 9 ++++++++
> 6 files changed, 173 insertions(+)
> create mode 100644 m4/virt-nss.m4
> create mode 100644 tools/nss/libvirt_nss.c
> create mode 100644 tools/nss/libvirt_nss.h
> create mode 100644 tools/nss/libvirt_nss.syms
ACK
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list