- 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:
parent
6964abef83
commit
52f65779ea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209757
@ -110,11 +110,11 @@ getline(FILE *fd, const char *skip)
|
|||||||
*
|
*
|
||||||
* Recognized keywords:
|
* 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",
|
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 *
|
static char *
|
||||||
translate_opts(const char *shareopts)
|
translate_opts(const char *shareopts)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user