commit | 6e4891dc289cd191d46ab7ba1dcb29646644f9ca | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Fri Apr 03 17:19:41 2015 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Apr 21 16:16:01 2015 -0400 |
tree | 9b99fa6fa8fd1ab4dcc571ad4125c7be2fece33a | |
parent | 980608fb50aea34993ba956b71cd4602aa42b14b [diff] |
nfsd4: fix READ permission checking In the case we already have a struct file (derived from a stateid), we still need to do permission-checking; otherwise an unauthorized user could gain access to a file by sniffing or guessing somebody else's stateid. Cc: stable@vger.kernel.org Fixes: dc97618ddda9 "nfsd4: separate splice and readv cases" Signed-off-by: J. Bruce Fields <bfields@redhat.com>