]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: stricter cred comparison for setclientid/exchange_id
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 15 May 2012 01:20:54 +0000 (21:20 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:29:57 +0000 (20:29 -0400)
commit1c8c532ca137977023a28e33b75780eb105d94fa
tree3a838a9a822042ac0a988e21e4824f64c1ada7f2
parentffab119d4c31ede17e0721edf5edadc5c88a3773
nfsd4: stricter cred comparison for setclientid/exchange_id

The typical setclientid or exchange_id will probably be performed with a
credential that maps to either root or nobody, so comparing just uid's
is unlikely to be useful.  So, use everything else we can get our hands
on.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c