summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/Makefile.inc
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2012-10-19 12:44:22 +0000
committerbrooks <brooks@FreeBSD.org>2012-10-19 12:44:22 +0000
commitcb3047054f01017776ffe7bc982fe6d6f5a08cdb (patch)
tree215be12bec7b0be963ae597a694b1e9054e3daab /lib/libc/gen/Makefile.inc
parent3ec6e1c2f7079ab12b6a1573572b26641c1ec3f5 (diff)
parentbf5ab71b9ae38d07e5e8c32ca9d75e921206a04a (diff)
downloadFreeBSD-src-cb3047054f01017776ffe7bc982fe6d6f5a08cdb.zip
FreeBSD-src-cb3047054f01017776ffe7bc982fe6d6f5a08cdb.tar.gz
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.
Diffstat (limited to 'lib/libc/gen/Makefile.inc')
-rw-r--r--lib/libc/gen/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 134ba34..2481f28 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -24,7 +24,7 @@ SRCS+= __getosreldate.c __xuname.c \
lockf.c lrand48.c mrand48.c nftw.c nice.c \
nlist.c nrand48.c opendir.c \
pause.c pmadvise.c popen.c posix_spawn.c \
- psignal.c pututxline.c pw_scan.c pwcache.c \
+ psignal.c pututxline.c pw_scan.c \
raise.c readdir.c readpassphrase.c rewinddir.c \
scandir.c seed48.c seekdir.c semctl.c \
setdomainname.c sethostname.c setjmperr.c setmode.c \
@@ -36,6 +36,9 @@ SRCS+= __getosreldate.c __xuname.c \
usleep.c utime.c utxdb.c valloc.c vis.c wait.c wait3.c waitpid.c \
wordexp.c
+.PATH: ${.CURDIR}/../../contrib/libc-pwcache
+SRCS+= pwcache.c pwcache.h
+
MISRCS+=modf.c
CANCELPOINTS_SRCS=sem.c sem_new.c
OpenPOWER on IntegriCloud