summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nfsuserd/nfsuserd.c
Commit message (Collapse)AuthorAgeFilesLines
* Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload thermacklem2011-06-211-4/+25
| | | | | | | | | | | | 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
* Code cleanup for nfs4 utilities:delphij2009-05-291-21/+18
| | | | | | | | | | | | - Mark internal routines as static; - Eliminate unused parameters where possible, mark __unused for others; - Remove unused variables; - Use %jd for int64_t values in printf(); - Add appropriate %d for printf to match its parameter; - Rename a variable to resolve conflict with revoke(2); Reviewed by: rmacklem Tested with: make universe (bugs are mine)
* Add two new utilities and two new daemons to /usr/src/usr.sbin thatrmacklem2009-05-261-0/+665
are specifically used by the experimental nfsv4 subsystem. nfscbd - The NFSv4 client callback daemon. nfsuserd - The NFSv4 daemon that maps between user and group name and their corresponding uid/gid numbers. nfsdumpstate - A utility that dumps out the NFSv4 Open/Lock state. nfsrevoke - Administratively revokes an NFSv4 client, releasing all NFSv4 Open/Lock state it holds on the server. Approved by: kib (mentor)
OpenPOWER on IntegriCloud