aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-07-07 07:09:33 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-07-07 07:09:33 +0000
commit52f65779ea1d6e40a4a9b6b259c6da28cdcb1644 (patch)
tree2d664feaefbc29d3a761c20c56abb587a35487bf
parent6964abef8367c93d1e845633b734d55946d612e4 (diff)
downloadsrc-52f65779ea1d6e40a4a9b6b259c6da28cdcb1644.tar.gz
src-52f65779ea1d6e40a4a9b6b259c6da28cdcb1644.zip
- Add support for the "sec" option to "zfs set sharenfs"
Submitted by: Dmitry Morozovsky <marck@FreeBSD.org> Approved by: delphij (mentor) MFC after: 3 days
Notes
Notes: svn path=/head/; revision=209757
-rw-r--r--cddl/compat/opensolaris/misc/fsshare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cddl/compat/opensolaris/misc/fsshare.c b/cddl/compat/opensolaris/misc/fsshare.c
index ca82710a3411..10ed591d5bca 100644
--- a/cddl/compat/opensolaris/misc/fsshare.c
+++ b/cddl/compat/opensolaris/misc/fsshare.c
@@ -110,11 +110,11 @@ getline(FILE *fd, const char *skip)
*
* Recognized keywords:
*
- * ro, maproot, mapall, mask, network, alldirs, public, webnfs, index, quiet
+ * ro, maproot, mapall, mask, network, sec, alldirs, public, webnfs, index, quiet
*
*/
static const char *known_opts[] = { "ro", "maproot", "mapall", "mask",
- "network", "alldirs", "public", "webnfs", "index", "quiet", NULL };
+ "network", "sec", "alldirs", "public", "webnfs", "index", "quiet", NULL };
static char *
translate_opts(const char *shareopts)
{