Date: Tue, 5 Jul 2011 02:15:42 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/nfsuserd nfsuserd.c Message-ID: <201107050216.p652G17N047007@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-07-05 02:15:42 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
usr.sbin/nfsuserd nfsuserd.c
Log:
SVN rev 223776 on 2011-07-05 02:15:42Z by rmacklem
MFC: r223382
Change the NFSv4 nfsuserd daemon so that it doesn't preload the
uid<->username mapping cache with an entry when another entry
for that uid is already loaded. This fixes a case where the
mapping of "toor" would replace "root" when the daemon was started,
resulting in no mapping for "root" until the cache entry for "toor"
timed out.
The algorithm is inefficient, but since it is only done once when
the daemon is started up, I don't think that's an issue.
Revision Changes Path
1.2.2.2 +25 -4 src/usr.sbin/nfsuserd/nfsuserd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107050216.p652G17N047007>
