Add uid_from_user() and gid_from_group(), derived from pax's cache.c.
authormillert <millert@openbsd.org>
Thu, 13 Sep 2018 12:31:15 +0000 (12:31 +0000)
committermillert <millert@openbsd.org>
Thu, 13 Sep 2018 12:31:15 +0000 (12:31 +0000)
commit5a122e6e86e0ef46251a9c01f7ddc67b6fea9557
treeaa9e448bc822d68d314b658f44169b72e3d1dd63
parent4b5fa55e4bbeb587a2eaa52765a1e8e42ad82c87
Add uid_from_user() and gid_from_group(), derived from pax's cache.c.
It replaces the existing pwcache.c functions user_from_uid(3) and
group_from_gid(3) with the pax equivalents.  Adapted from NetBSD
(mycroft) changes from our own pax's cache.c.  OK guenther@
include/grp.h
include/pwd.h
lib/libc/Symbols.list
lib/libc/gen/getgrent.c
lib/libc/gen/pwcache.3
lib/libc/gen/pwcache.c
lib/libc/hidden/grp.h
lib/libc/hidden/pwd.h
lib/libc/shlib_version