Skip to content

Commit feb8a46

Browse files
committed
NFSD: Add a Kconfig setting to enable support for NFSv4 POSIX ACLs
A new IETF draft extends NFSv4.2 with POSIX ACL attributes: https://www.ietf.org/archive/id/draft-ietf-nfsv4-posix-acls-00.txt This draft has not yet been ratified. A build-time configuration option allows developers and distributors to decide whether to expose this experimental protocol extension to NFSv4 clients. The option is disabled by default to prevent unintended deployment of potentially unstable protocol features in production environments. This approach mirrors the existing NFSD_V4_DELEG_TIMESTAMPS option, which gates another experimental NFSv4 extension based on an unratified IETF draft. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent 6bc85ba commit feb8a46

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

fs/nfsd/Kconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,22 @@ config NFSD_V4_DELEG_TIMESTAMPS
186186
draft-ietf-nfsv4-delstid-08 "Extending the Opening of Files". This
187187
is currently an experimental feature and is therefore left disabled
188188
by default.
189+
190+
config NFSD_V4_POSIX_ACLS
191+
bool "Support NFSv4 POSIX draft ACLs"
192+
depends on NFSD_V4
193+
default n
194+
help
195+
Include experimental support for POSIX Access Control Lists
196+
(ACLs) in NFSv4 as specified in the IETF draft
197+
draft-ietf-nfsv4-posix-acls. This protocol extension enables
198+
NFSv4 clients to retrieve and modify POSIX ACLs on exported
199+
filesystems that support them.
200+
201+
This feature is based on an unratified IETF draft
202+
specification that may change in ways that impact
203+
interoperability with existing clients. Enable only for
204+
testing environments or when interoperability with specific
205+
clients that implement this draft is required.
206+
207+
If unsure, say N.

0 commit comments

Comments
 (0)