freebsd-skq/lib/libc
markj 5c6d3bcb51 Implement an NSS backend for netgroups and add getnetgrent_r(3).
This support appears to have been documented in nsswitch.conf(5) for some
time. The implementation adds two NSS netgroup providers to libc. The
default, compat, provides the behaviour documented in netgroup(5), so this
change does not make any user-visible behaviour changes. A files provider
is also implemented.

innetgr(3) is implemented as an optional NSS method so that providers such
as NIS which are able to implement efficient reverse lookup can do so.
A fallback implementation is used otherwise. getnetgrent_r(3) is added for
convenience and to provide compatibility with glibc and Solaris.

With a small patch to net/nss_ldap, it's possible to specify an ldap
netgroup provider, allowing one to query nisNetgroupTriple entries.

Sponsored by:	EMC / Isilon Storage Division
2016-06-09 01:28:44 +00:00
..
aarch64 Remove brk and sbrk from arm64. They were defined in The Single UNIX 2016-05-20 15:04:48 +00:00
amd64 libc: spelling fixes. 2016-04-30 01:24:24 +00:00
arm Make armv6 hard float abi by default. Kill armv6hf. 2016-05-18 06:01:18 +00:00
capability use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
compat-43 Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 20:53:24 +00:00
db Fix prototype of dbm_open(). 2016-05-31 18:32:57 +00:00
gdtoa META MODE: Don't create .meta files when symlinking sources into the obj directory. 2015-11-25 19:44:43 +00:00
gen Implement an NSS backend for netgroups and add getnetgrent_r(3). 2016-06-09 01:28:44 +00:00
gmon Replace the last non-optional use of sbrk() in the tree with mmap(). 2016-01-21 18:17:19 +00:00
i386 libc: stop exporting curbrk and minbrk in the private namespace 2016-03-24 18:47:19 +00:00
iconv citrus: Remove redundant code in _citrus_esdb_get_list(). 2016-06-02 17:28:39 +00:00
include Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
inet libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
isc libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
locale libc/locale: Fix type breakage in __collate_range_cmp(). 2016-06-05 19:12:52 +00:00
md Bring the md5 functions into libc for internal use only. 2014-08-12 12:25:56 +00:00
mips libc: stop exporting cerror 2016-03-30 14:42:09 +00:00
nameser libc: spelling fixes. 2016-04-30 01:24:24 +00:00
net Revert r301707 2016-06-08 23:30:13 +00:00
nls MFH 2016-02-03 02:02:01 +00:00
posix1e libc: spelling fixes. 2016-04-30 01:24:24 +00:00
powerpc libc: make some more use of the nitems() macro. 2016-04-16 17:52:00 +00:00
powerpc64 libc: make some more use of the nitems() macro. 2016-04-16 17:52:00 +00:00
quad Remove MK_ARM_EABI, the armeb issues have been fixed. The code to support 2014-10-01 08:26:51 +00:00
regex libc/locale: Fix type breakage in __collate_range_cmp(). 2016-06-05 19:12:52 +00:00
resolv Don't leak addrinfo if ai->ai_addrlen <= minsiz test fails. 2016-06-08 09:40:06 +00:00
riscv Do not generate code for sbrk syscall -- sbrk support was removed. 2016-05-25 16:38:10 +00:00
rpc Test for strchr(3) returning NULL, not 0 2016-06-08 23:17:30 +00:00
secure libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
softfloat libc: replace 0 with NULL for pointers. 2016-04-10 19:33:58 +00:00
sparc64 libc: spelling fixes. 2016-04-30 01:24:24 +00:00
stdio libc: Actually export fopencookie(3) 2016-05-12 21:30:22 +00:00
stdlib Reflect error indication according to POSIX and what those functions 2016-06-05 15:46:14 +00:00
stdtime Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
string libc: spelling fixes. 2016-04-30 01:24:24 +00:00
sys Introduce the PD_CLOEXEC for pdfork(2). 2016-06-08 02:09:14 +00:00
tests iconvctl(3): remove superfluous NULL pointer tests 2016-05-14 00:35:35 +00:00
uuid libc: replace 0 with NULL for pointers. 2016-04-10 19:33:58 +00:00
xdr libc/xdr: unsign some loop indexes. 2016-05-06 16:03:40 +00:00
yp libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
libc.ldscript
Makefile Make armv6 hard float abi by default. Kill armv6hf. 2016-05-18 06:01:18 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
Versions.def Fix the inheritance of the FBSDprivate_1.0 namespace. 2014-04-03 17:31:38 +00:00