]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace our version of the pwcache(3) API with NetBSD's implementation.
authorbrooks <brooks@FreeBSD.org>
Fri, 19 Oct 2012 12:44:22 +0000 (12:44 +0000)
committerbrooks <brooks@FreeBSD.org>
Fri, 19 Oct 2012 12:44:22 +0000 (12:44 +0000)
commitcb3047054f01017776ffe7bc982fe6d6f5a08cdb
tree215be12bec7b0be963ae597a694b1e9054e3daab
parent3ec6e1c2f7079ab12b6a1573572b26641c1ec3f5
parentbf5ab71b9ae38d07e5e8c32ca9d75e921206a04a
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.
contrib/libc-pwcache/pwcache.3
contrib/libc-pwcache/pwcache.c
contrib/libc-pwcache/pwcache.h
include/grp.h
include/pwd.h
lib/libc/gen/Makefile.inc
lib/libc/gen/Symbol.map