summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs3proc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-09-13 17:50:42 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-10-29 17:46:14 -0400
commit6f6cc3205c5f10129b8a10cdf8abf85d9db48a60 (patch)
treec0c388985d7231b2c3b940cbdb64d877dde95c8b /fs/nfsd/nfs3proc.c
parent427d6c6646d868fbd3094e7e2e1644d480cd9204 (diff)
downloadop-kernel-dev-6f6cc3205c5f10129b8a10cdf8abf85d9db48a60.zip
op-kernel-dev-6f6cc3205c5f10129b8a10cdf8abf85d9db48a60.tar.gz
nfsd: -EINVAL on invalid anonuid/gid instead of silent failure
If we're going to refuse to accept these it would be polite of us to at least say so.... This introduces a slight complication since we need to grandfather in exportfs's ill-advised use of -1 uid and gid on its test_export. If it turns out there are other users passing down -1 we may need to do something else. Best might be to drop the checks entirely, but I'm not sure if other parts of the kernel might assume that a task can't run as uid or gid -1. Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud