diff options
author | brooks <brooks@FreeBSD.org> | 2012-10-19 12:44:22 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2012-10-19 12:44:22 +0000 |
commit | cb3047054f01017776ffe7bc982fe6d6f5a08cdb (patch) | |
tree | 215be12bec7b0be963ae597a694b1e9054e3daab /lib/libc/gen/Makefile.inc | |
parent | 3ec6e1c2f7079ab12b6a1573572b26641c1ec3f5 (diff) | |
parent | bf5ab71b9ae38d07e5e8c32ca9d75e921206a04a (diff) | |
download | FreeBSD-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.inc | 5 |
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 |