aboutsummaryrefslogtreecommitdiff
path: root/contrib/libc-pwcache/pwcache.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove __FBSDID from netbsd libc sourcesBrooks Davis2023-11-211-1/+0
| | | | | | | | I added them per then-current practice when I imported them, but now they are just gratuious local diffs. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D42686
* Replace our version of the pwcache(3) API with NetBSD's implementation.Brooks Davis2012-10-191-0/+646
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. Notes: svn path=/head/; revision=241731