summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-07-07 07:09:33 +0000
committermm <mm@FreeBSD.org>2010-07-07 07:09:33 +0000
commit7a0776a3526e66c151f326650d1cc9bff20aa0ec (patch)
tree2d664feaefbc29d3a761c20c56abb587a35487bf
parent66f8be2c3a44856f9342483b3faef76f2dcd65ae (diff)
downloadFreeBSD-src-7a0776a3526e66c151f326650d1cc9bff20aa0ec.zip
FreeBSD-src-7a0776a3526e66c151f326650d1cc9bff20aa0ec.tar.gz
- 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
-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 ca82710..10ed591 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)
{
OpenPOWER on IntegriCloud