History log of /freebsd-10.0-release/usr.sbin/nscd/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


238095 04-Jul-2012 joel

Remove end of line whitespace.


238094 04-Jul-2012 se

Add the possibility to specify a threshold for the number of negative cache
results required to have the cache return lookup failure.

A new configuration parameter is introduced, which must be set to a value
greater than 1 to activate this feature. The default behavior is unchanged.

The purpose of this change is to allow probes for the existence of an entry
(which are expected to fail), before that entry is added to one of the
queried databases, without the cache returning the stale information from
the probe query until that cache entry expires. If, for example, a new user
account is created after checking that the new account name is available,
the negative cache entry would prevent immediate access to the account.

For that example, the new configuration option

negative-confidence-threshold passwd 2

will require a second negative query result to consider the negative cache
entry for a passwd entry valid, but if the user account has been created
between the queries, then the positive query result from the second query
will be cached and returned.


228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


208291 19-May-2010 uqs

mdoc: consistently spell our email addresses <foo@FreeBSD.org>

Reviewed by: ru


201441 03-Jan-2010 gavin

The default hash table size is 257 not 255. Reword the rest of the line
slightly while here.

PR: bin/121671
Submitted by: Artis Caune artis.caune gmail.com
Approved by: ed (mentor)


194112 13-Jun-2009 des

Remove "extern" from function prototypes, and fix some (but not all)
style(9) violations.

MFC after: 1 week


194109 13-Jun-2009 des

Wrap some macros that needed wrapping.

MFC after: 1 week


194104 13-Jun-2009 des

Remove casts from {c,m,re}alloc() and simplify sizeof().

MFC after: 1 week


194098 13-Jun-2009 des

nscd builds cleanly at WARNS level 3.

MFC after: 1 week


194097 13-Jun-2009 des

Explain to the compiler why the aliasing we're doing is OK.

MFC after: 1 week


194096 13-Jun-2009 des

Fix a large number of signed - unsigned comparison warnings.

MFC after: 1 week


194095 13-Jun-2009 des

Change hashtable_index_t to unsigned.
Generate prototypes for our hash table.

MFC after: 1 week


194094 13-Jun-2009 des

#include the right header so we get prototypes for our own functions.

MFC after: 1 week


194093 13-Jun-2009 des

Further #include cleanup.

MFC after: 1 week


194091 13-Jun-2009 des

Make the debugging macros expand to (void)0 instead of simply nothing
when debugging is turned off.
Rename debugging functions due to namespace violation.

MFC after: 1 week


194089 13-Jun-2009 des

#include cleanup

MFC after: 1 week


194087 12-Jun-2009 des

Provide correct prototypes for functions with no arguments.

MFC after: 1 week


194086 12-Jun-2009 des

_nss_cache_cycle_prevention_function doesn't actually need to be a function,
it just needs to have external linkage.

MFC after: 1 week


186394 22-Dec-2008 maxim

o Correct a database name: "group" not "groups".

PR: docs/129853
Submitted by: Denis Barov
MFC after: 1 week


184189 23-Oct-2008 delphij

Slightly adjust code logic: we allocate a "size"ed length of memory, not
size+1. Use strlcpy() to avoid using - 1 as length for strncpy().


184188 23-Oct-2008 delphij

Use strlcpy() before strlen() instead of strncpy().


184187 23-Oct-2008 delphij

Since we are going to strlen() on the string, it is supposed to be
NUL-terminated, so use strlcpy() instead of strncpy() here.


184186 23-Oct-2008 delphij

Replace malloc() + memset() with calloc. This corrects a misuse of
memset() as a side effect.


183770 12-Oct-2008 delphij

Reduce code duplication: use calloc instead of allocing and memset
afterward.

Approved by: bushman


183755 10-Oct-2008 bushman

Removing startup banner.


173766 20-Nov-2007 jb

These are the things that the tinderbox has problems with because it
doesn't use the default CFLAGS which contain -fno-strict-aliasing.

Until the code is cleaned up, just add -fno-strict-aliasing to the
CFLAGS of these for the tinderboxes' sake, allowing the rest of the
tree to have -Werror enabled again.


172530 10-Oct-2007 simon

Remove file which was accidently repo-copied to the wrong destination
file-name. The file will be nuked entirely from the repository later.

Approved by: re (kensmith)


171795 09-Aug-2007 bushman

- Renaming repocopied cached to nscd

Approved by: re (kensmith), brooks (mentor)


164616 26-Nov-2006 ru

- When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.
- Don't build ngctl(8) and cached(8) if threading libs aren't built.
- Fix various issues in a cached(8) makefile.


162893 30-Sep-2006 ru

Revise markup.


162891 30-Sep-2006 ru

Fix usage().


158310 05-May-2006 ume

If perform-actual-lookups is enabled, getservbyname() matches an entry
even when proto is not valid.

Submitted by: Michael Bushkov <bushman__at__rsu.ru>


158257 02-May-2006 ume

Fix alignment problem on AMD64.

Reported by: Pascal Hofstee <caelian__at__gmail.com>
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Tested by: Pascal Hofstee <caelian__at__gmail.com>


158192 30-Apr-2006 maxim

o Sort .Xrs.


158191 30-Apr-2006 maxim

o Reformat FILES section.


158189 30-Apr-2006 maxim

o Add missed commas.


158188 30-Apr-2006 maxim

o Silence mdoc(7) warnings: remove an empty line, add missed .El macro.
New sentence - new line.


158186 30-Apr-2006 matteo

Specify default values for positive-policy and negative-policy .


158176 30-Apr-2006 ceri

Typo.


158155 30-Apr-2006 trhodes

Reword a sentence modified in my previous commit. This new one is probably
better.

Hinted by: ceri


158135 29-Apr-2006 trhodes

Follow FreeBSD mdoc(7) conventions:
- Remove hard sentence breaks;
- Avoid using double negatives or "sexist" language;
- Expand contractions;
- Remove a blank line;
- Some grammar changes.

Usually we do not "hard code" requests to submit bugs to the author, but
I will leave this go for now.


158115 28-Apr-2006 ume

- Extend the nsswitch to support Services, Protocols and Rpc
databases.
- Make nsswitch support caching.

Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005