- 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:
mm 2010-07-07 07:09:33 +00:00
parent 66f8be2c3a
commit 7a0776a352

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