]> rtime.felk.cvut.cz Git - linux-imx.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)
commit8fbba96e5b327665265ad02b7f331b68536828bf
tree3a838a9a822042ac0a988e21e4824f64c1ada7f2
parent03a4e1f6ddf25f48848e1bddcffc0ad489648331
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