summaryrefslogtreecommitdiffstats
path: root/utils/gssd/write_bytes.h
diff options
context:
space:
mode:
authorKevin Coffman <kwc@citi.umich.edu>2006-07-08 10:01:40 +1000
committerNeil Brown <neilb@suse.de>2006-07-08 10:01:40 +1000
commit7194d7d6320736c14f40d31c3738d40f3119ead5 (patch)
treea16d756c6b834287ef24a6488fa1c1fee1075743 /utils/gssd/write_bytes.h
parentb0604c623f7a98c6061dff19988722d3ae848bd7 (diff)
downloadnfs-utils-7194d7d6320736c14f40d31c3738d40f3119ead5.tar.gz
nfs-utils-7194d7d6320736c14f40d31c3738d40f3119ead5.tar.xz
nfs-utils-7194d7d6320736c14f40d31c3738d40f3119ead5.zip
Use uid/gid of -1 to indicate the export's anonuid/anongid should be used
Kernel routine nfsd_setuser() in fs/nfsd/auth.c checks for the value -1 and defaults the credential's fsuid/fsgid to the correct anonuid/anongid values for the given export. We should be passing this value (-1) down when a name mapping cannot be found. Thanks to J. Bruce Fields <bfields@fieldses.org> for the reference. Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Acked-by: J. Bruce Fields <bfields@fieldses.org>
Diffstat (limited to 'utils/gssd/write_bytes.h')
0 files changed, 0 insertions, 0 deletions