Update pwcache(3) support files from NetBSD

Operating Systems / DragonFlyBSD - François Tigeot [wolfpond.org] - 4 April 2018 17:38 EDT

- Bringing the API up-to-date with NetBSD and FreeBSD

- This effectively adds the uid_from_user() and gid_from_group() functions, the reverse of user_from_uid() and groups_from_gid()

- (void) casts for discarded return values have been removed

2b478a4795 Update pwcache(3) support files from NetBSD
lib/libc/gen/pwcache.3 | 138 +++++++++-
lib/libc/gen/pwcache.c | 664 ++++++++++++++++++++++++++++++++++++++++++++-----
lib/libc/gen/pwcache.h | 72 ++++++
3 files changed, 804 insertions(+), 70 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share