nss: Implement <nss_database.h>
commitfa78feca47fdc226b46e7f6fea4c08c10fccd182
authorFlorian Weimer <fweimer@redhat.com>
Thu, 20 Feb 2020 12:20:32 +0000 (20 13:20 +0100)
committerDJ Delorie <dj@redhat.com>
Fri, 4 Dec 2020 22:15:44 +0000 (4 17:15 -0500)
tree9f6d87a83d586c1c7ea5fdb3962702792b14fac1
parentfd5b9b4458ef662d1955459e22a11b15d16a5648
nss: Implement <nss_database.h>

This code manages the mappings of the available databases in NSS
(i.e. passwd, hosts, netgroup, etc) with the actions that should
be taken to do a query on those databases.

This is the main API between query functions scattered throughout
glibc and the underlying code (actions, modules, etc).

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
nss/Makefile
nss/nss_database.c [new file with mode: 0644]
nss/nss_database.h [new file with mode: 0644]
sysdeps/mach/hurd/fork.c
sysdeps/nptl/fork.c