History log of /freebsd-10.0-release/usr.sbin/nscd/cachelib.h
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


# 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.


# 194112 13-Jun-2009 des

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

MFC after: 1 week


# 194097 12-Jun-2009 des

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

MFC after: 1 week


# 194089 12-Jun-2009 des

#include cleanup

MFC after: 1 week


# 172344 27-Sep-2007 bushman

Forced commit to note repocopy:

The files were copied in order to rename cached to nscd.

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


# 171795 09-Aug-2007 bushman

- Renaming repocopied cached to nscd

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


# 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