- 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
This commit is contained in:
Martin Matuska 2010-07-07 07:09:33 +00:00
parent 6964abef83
commit 52f65779ea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209757

View File

@ -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)
{