Dynamically load GSS pseudoflavors by OID
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 2 repliesIn review
- v28 of 9 patches 4 repliesSuperseded
Changes in v3 from the cover letter
1. Some polish
2. Server-side [9/9] rewritten based on testing results
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | SUNRPC: Missing module alias for auth_rpcgss.konet/ | +1 | 2 replies | |
| 2/9 | NFS: Remove unneeded forward declarationinclude/ | +0 | 0 replies | |
| 3/9 | SUNRPC: Define rpcsec_gss_info structurefs/ fs/ include/ +2 more | +35 | 0 replies | |
| 4/9 | SUNRPC: Introduce rpcauth_get_pseudoflavor()fs/ include/ include/ +3 more | +87 | 0 replies | |
| 5/9 | SUNRPC: Load GSS kernel module by OIDnet/ net/ net/ | +9 | 0 replies | |
| 6/9 | SUNRPC: Consider qop when looking up pseudoflavorsinclude/ net/ net/ +1 more | +22 | 0 replies | |
| 7/9 | SUNRPC: Refactor nfsd4_do_encode_secinfo()fs/ include/ include/ +3 more | +83 | 0 replies | |
| 8/9 | SUNRPC: Make gss_mech_get() staticinclude/ net/ | +1 | 0 replies | |
| 9/9 | SUNRPC: Remove EXPORT_SYMBOL_GPL() from GSS mech switchnet/ | +13 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | J. Bruce Fields |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | A-b |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/9] Dynamically load GSS pseudoflavors by OID
Currently the RPC client is able to dynamically load GSS security flavor support by name or pseudoflavor number, but not by [OID, qop, service] tuple. Such a tuple can be provided by an NFSv4 server in a SECINFO reply, for example.
This means that if an NFSv4 server lists a tuple for, say, krb5p, in a SECINFO reply, our client will pretend it doesn't support krb5p if the rpc-auth-gss-krb5 module is available on the system but does not happen to be loaded at that moment.
This series implements support for loading the correct GSS pseudoflavor module before searching by GSS tuple.
This version of the series seems ready for linux-next or 3.9.
Changes since v2:
1. Some polish
2. Server-side [9/9] rewritten based on testing results
Changes since v1:
1. Simplify function and method names
2. Add an equivalent server-side interface
3. Improve automatic loading of the auth_rpcgss module
4. nfs_find_best_sec() also verifies non-GSS flavors against
RPC client's list of registered flavors
5. Search for (qop, svc) pair without adding a new function
6. Clean up GSS mech switch
7. Remove dprintk() calls
8. Improve patch descriptions
9. Numerous small improvements and fixes---
Chuck Lever (9):
SUNRPC: Remove EXPORT_SYMBOL_GPL() from GSS mech switch
SUNRPC: Make gss_mech_get() static
SUNRPC: Refactor nfsd4_do_encode_secinfo()
SUNRPC: Consider qop when looking up pseudoflavors
SUNRPC: Load GSS kernel module by OID
SUNRPC: Introduce rpcauth_get_pseudoflavor()
SUNRPC: Define rpcsec_gss_info structure
NFS: Remove unneeded forward declaration
SUNRPC: Missing module alias for auth_rpcgss.ko
fs/nfs/nfs4namespace.c | 43 +++++++----- fs/nfs/nfs4xdr.c | 20 +++--- fs/nfsd/nfs4xdr.c | 24 +++---- include/linux/nfs_xdr.h | 24 +------ include/linux/sunrpc/auth.h | 6 ++ include/linux/sunrpc/gss_api.h | 29 ++++++-- net/sunrpc/Kconfig | 1 net/sunrpc/auth.c | 68 +++++++++++++++++++ net/sunrpc/auth_gss/auth_gss.c | 3 + net/sunrpc/auth_gss/gss_krb5_mech.c | 6 +- net/sunrpc/auth_gss/gss_mech_switch.c | 117 +++++++++++++++++++++++++-------- net/sunrpc/auth_gss/svcauth_gss.c | 4 + 12 files changed, 245 insertions(+), 100 deletions(-)
Signature · 1 line
Chuck Lever