Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 21:07:33 +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:  <201106212107.p5LL7pGa047016@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2011-06-21 21:07:33 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/nfsuserd    nfsuserd.c 
  Log:
  SVN rev 223382 on 2011-06-21 21:07:33Z by rmacklem
  
  Change the NFSv4 nfsuserd(8) 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.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.3       +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?201106212107.p5LL7pGa047016>