mirror-linux/include/uapi/linux/nfsd
Benjamin Coddington a002ad8a9b NFSD/export: Add sign_fh export option
In order to signal that filehandles on this export should be signed, add a
"sign_fh" export option.  Filehandle signing can help the server defend
against certain filehandle guessing attacks.

Setting the "sign_fh" export option sets NFSEXP_SIGN_FH.  In a future patch
NFSD uses this signal to append a MAC onto filehandles for that export.

While we're in here, tidy a few stray expflags to more closely align to the
export flag order.

Link: https://lore.kernel.org/linux-nfs/cover.1772022373.git.bcodding@hammerspace.com
Signed-off-by: Benjamin Coddington <bcodding@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2026-03-29 21:25:09 -04:00
..
cld.h nfsd: add support for upcall version 2 2019-09-10 09:26:33 -04:00
debug.h License cleanup: add SPDX license identifier to uapi header files with no license 2017-11-02 11:19:54 +01:00
export.h NFSD/export: Add sign_fh export option 2026-03-29 21:25:09 -04:00
stats.h License cleanup: add SPDX license identifier to uapi header files with no license 2017-11-02 11:19:54 +01:00