diff options
author | J. Bruce Fields <bfields@redhat.com> | 2015-04-04 00:19:41 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-04-21 23:16:01 +0300 |
commit | 6e4891dc289cd191d46ab7ba1dcb29646644f9ca (patch) | |
tree | 9b99fa6fa8fd1ab4dcc571ad4125c7be2fece33a /fs/nfsd/nfsd.h | |
parent | 980608fb50aea34993ba956b71cd4602aa42b14b (diff) | |
download | linux-6e4891dc289cd191d46ab7ba1dcb29646644f9ca.tar.xz |
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>
Diffstat (limited to 'fs/nfsd/nfsd.h')
0 files changed, 0 insertions, 0 deletions