Enable administrators to require clients to use transport layer security when accessing particular exports.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -62,5 +62,18 @@ · 61 unmodified lines | |||
| 62 | | NFSEXP_ALLSQUASH \ | 62 | | NFSEXP_ALLSQUASH \ |
| 63 | | NFSEXP_INSECURE_PORT) | 63 | | NFSEXP_INSECURE_PORT) |
| 64 | 64 | ||
| 65 | /* | ||
| 66 | * Transport layer security policies that are permitted to access | ||
| 67 | * an export | ||
| 68 | */ | ||
| 69 | #define NFSEXP_XPRTSEC_NONE 0x0001 | ||
| 70 | #define NFSEXP_XPRTSEC_TLS 0x0002 | ||
| 71 | #define NFSEXP_XPRTSEC_MTLS 0x0004 | ||
| 72 | |||
| 73 | #define NFSEXP_XPRTSEC_NUM (3) | ||
| 74 | |||
| 75 | #define NFSEXP_XPRTSEC_ALL (NFSEXP_XPRTSEC_NONE | \ | ||
| 76 | NFSEXP_XPRTSEC_TLS | \ | ||
| 77 | NFSEXP_XPRTSEC_MTLS) | ||
| 65 | 78 | ||
| 66 | #endif /* _UAPINFSD_EXPORT_H */ | 79 | #endif /* _UAPINFSD_EXPORT_H */ |