Initial SP4_MACH_CRED implementation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | nfs4.1: Minimal SP4_MACH_CRED implementationfs/ fs/ include/ +1 more | +211 | 0 replies | |
| 2/7 | nfs4.1: Add state protection handlerfs/ | +35 | 0 replies | |
| 3/7 | nfs4.1: Add SP4_MACH_CRED cleanup supportfs/ include/ | +19 | 0 replies | |
| 4/7 | nfs4.1: Add SP4_MACH_CRED secinfo supportfs/ include/ | +15 | 0 replies | |
| 5/7 | nfs4.1: Add SP4_MACH_CRED stateid supportfs/ include/ | +18 | 0 replies | |
| 6/7 | nfs4.1: Add SP4_MACH_CRED write and commit supportfs/ fs/ fs/ +1 more | +59 | 0 replies | |
| 7/7 | nfs4: Map NFS4ERR_WRONG_CRED to EPERMfs/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Initial SP4_MACH_CRED implementation
This is version 2 of this patchset including some cleanup, refactoring and fixes a few build issues with different configs.
I also added a few patches:
- WRITE and/or COMMIT support - tested on a hacked nfsd
- map NFS4ERR_WRONG_CRED (an common SP4 error) to EPERM
I meant to include a patch that only uses the machine cred (for 'allow' ops) when the user cred has expired, but after talking with Andy, I decided to wait for his cred expiration patchset to be merged as we'd be touching the same places and possibly duplicating effort.
Weston Andros Adamson (7):
nfs4.1: Minimal SP4_MACH_CRED implementation nfs4.1: Add state protection handler nfs4.1: Add SP4_MACH_CRED cleanup support nfs4.1: Add SP4_MACH_CRED secinfo support nfs4.1: Add SP4_MACH_CRED stateid support nfs4.1: Add SP4_MACH_CRED write and commit support
nfs4: Map NFS4ERR_WRONG_CRED to EPERM
fs/nfs/nfs4_fs.h | 67 ++++++++++++++++ fs/nfs/nfs4proc.c | 191 ++++++++++++++++++++++++++++++++++++++++++++-- fs/nfs/nfs4xdr.c | 72 ++++++++++++++--- fs/nfs/write.c | 6 ++ include/linux/nfs_fs_sb.h | 9 +++ include/linux/nfs_xdr.h | 19 +++++ 6 files changed, 346 insertions(+), 18 deletions(-)
Signature · 1 line
1.7.12.4 (Apple Git-37)