]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r241731:
authorbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Jan 2013 22:15:13 +0000 (22:15 +0000)
committerbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Jan 2013 22:15:13 +0000 (22:15 +0000)
commit257b7534e1bd2e922a26b6558d93bc633f0358ab
tree4110e6cca4ea44f9fff53f458ba6447139621582
parente8de0bc7942e387b8a645aa9bca7897accb83894
MFC r241731:

Replace our version of the pwcache(3) API with NetBSD's implementation.

This adds two features:
 * uid_from_user() and gid_from_group() as the reverse of user_from_uid()
   and groups_from_gid().
 * pwcache_userdb() and pwcache_groupdb() which allow alternative lookup
   functions to be used.  For example lookups from passwd and group
   databases in a non-standard location.

git-svn-id: svn://svn.freebsd.org/base/stable/9@245267 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/libc-pwcache/pwcache.3 [new file with mode: 0644]
contrib/libc-pwcache/pwcache.c [new file with mode: 0644]
contrib/libc-pwcache/pwcache.h [new file with mode: 0644]
include/grp.h
include/pwd.h
lib/libc/gen/Makefile.inc
lib/libc/gen/Symbol.map
lib/libc/gen/pwcache.3 [deleted file]
lib/libc/gen/pwcache.c [deleted file]