Files
kernel_xiaomi_sm8250/include/linux
J. Bruce Fields 04716e6621 nfsd: permit unauthenticated stat of export root
RFC 2623 section 2.3.2 permits the server to bypass gss authentication
checks for certain operations that a client may perform when mounting.
In the case of a client that doesn't have some form of credentials
available to it on boot, this allows it to perform the mount unattended.
(Presumably real file access won't be needed until a user with
credentials logs in.)

Being slightly more lenient allows lots of old clients to access
krb5-only exports, with the only loss being a small amount of
information leaked about the root directory of the export.

This affects only v2 and v3; v4 still requires authentication for all
access.

Thanks to Peter Staubach testing against a Solaris client, which
suggesting addition of v3 getattr, to the list, and to Trond for noting
that doing so exposes no additional information.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Peter Staubach <staubach@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
2008-09-29 17:56:56 -04:00
..
2008-08-10 23:32:07 +02:00
2008-08-05 14:33:46 -07:00
2008-08-12 10:13:38 +10:00
2008-08-04 21:56:09 -07:00
2008-08-20 13:19:51 -07:00
2008-08-12 16:07:31 -07:00
2008-08-08 15:13:27 +01:00
2008-08-28 08:33:23 +02:00
2008-09-02 20:18:47 +02:00
2008-08-02 18:36:10 +01:00
2008-08-25 17:28:25 +03:00
2008-09-01 09:47:16 +02:00
2008-08-11 15:25:07 +02:00
2008-08-02 16:28:50 +02:00
2008-08-16 16:45:56 -07:00
2008-08-16 16:45:56 -07:00
2008-08-26 10:37:20 -07:00
2008-08-04 23:04:08 -07:00
2008-08-04 21:31:34 -07:00
2008-08-04 21:31:34 -07:00
2008-08-07 15:33:36 -07:00
2008-08-05 14:33:50 -07:00
2008-09-16 19:35:05 -07:00
2008-08-07 17:18:47 -07:00
2008-08-11 09:30:24 +02:00
2008-08-20 15:40:32 -07:00
2008-09-05 18:14:35 +02:00
2008-08-17 22:47:30 +10:00
2008-08-15 19:52:30 -07:00
2008-08-05 09:28:47 +03:00
2008-08-11 09:30:24 +02:00
2008-09-05 14:39:38 -07:00
2008-08-15 10:34:07 -07:00
2008-08-16 16:45:56 -07:00