summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-04-15 10:03:42 -0400
committerSteve Dickson <steved@redhat.com>2023-04-15 13:53:54 -0400
commitab6d2c6b88bce4ad4772b620b0caa027d959f205 (patch)
treef8d7492be6e7eacaa928e32a80260324a8582f22 /utils
parente8d23171e56cea17a357c97b9cc0d3e392f759ec (diff)
downloadnfs-utils-ab6d2c6b88bce4ad4772b620b0caa027d959f205.tar.gz
exports: Add an xprtsec= export option
The overall goal is to enable administrators to require the use of transport layer security when clients access particular exports. This patch adds support to exportfs to parse, display, and push into the kernel a new xprtsec= export option. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/exportfs/exportfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 6d79a5b..37b9e4b 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -743,6 +743,7 @@ dump(int verbose, int export_format)
#endif
}
secinfo_show(stdout, ep);
+ xprtsecinfo_show(stdout, ep);
printf("%c\n", (c != '(')? ')' : ' ');
}
}