J. Bruce Fields 6f6cc3205c 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>
2013-10-29 17:46:14 -04:00
..
2013-10-26 15:37:26 -04:00
2011-11-07 21:10:47 -05:00
2013-02-26 02:46:08 -05:00
2013-10-02 16:18:24 -04:00
2013-10-02 16:18:24 -04:00
2013-02-26 02:46:08 -05:00
2013-07-01 17:23:06 -04:00
2013-10-02 16:18:24 -04:00