This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.22-595-gd4e301c
- From: carlos at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Dec 2015 05:50:00 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.22-595-gd4e301c
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d4e301c5c65393837e438b6d81feabfbfde7b9c7 (commit)
from 23256f5ed889266223380c02b2750d19e3fe666b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d4e301c5c65393837e438b6d81feabfbfde7b9c7
commit d4e301c5c65393837e438b6d81feabfbfde7b9c7
Author: Carlos O'Donell <carlos@systemhalted.org>
Date: Thu Dec 10 00:48:15 2015 -0500
Document best practice for disconnected NSS modules.
NSS modules which can run in disconnected modes should
return NSS_STATUS_NOTFOUND and SUCCESS in order to follow
best practice for such modules and ensure user applications
can have these modules configured without causing problems
if the data sources are not connected.
diff --git a/ChangeLog b/ChangeLog
index fd421fc..9140faf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-10 Carlos O'Donell <carlos@redhat.com>
+
+ * manual/nss.texi (NSS Modules Interface): Document
+ NSS_STATUS_NOTFOUND and SUCCESS.
+
2015-12-09 Mike FABIAN <mfabian@redhat.com>
[BZ 18568]
diff --git a/manual/nss.texi b/manual/nss.texi
index bf3e69d..66dccef 100644
--- a/manual/nss.texi
+++ b/manual/nss.texi
@@ -448,6 +448,13 @@ The function should be called again with a larger buffer.
@item
@code{NSS_STATUS_NOTFOUND} @tab
@code{ENOENT} @tab The requested entry is not available.
+
+@item
+@code{NSS_STATUS_NOTFOUND} @tab
+ @code{SUCCESS} @tab There are no entries.
+Use this to avoid returning errors for inactive services which may
+be enabled at a later time. This is not the same as the service
+being temporarily unavailable.
@end multitable
These are proposed values. There can be other error codes and the
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
manual/nss.texi | 7 +++++++
2 files changed, 12 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources