1168404Spjd/*
2168404Spjd * CDDL HEADER START
3168404Spjd *
4168404Spjd * The contents of this file are subject to the terms of the
5168404Spjd * Common Development and Distribution License, Version 1.0 only
6168404Spjd * (the "License").  You may not use this file except in compliance
7168404Spjd * with the License.
8168404Spjd *
9168404Spjd * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10168404Spjd * or http://www.opensolaris.org/os/licensing.
11168404Spjd * See the License for the specific language governing permissions
12168404Spjd * and limitations under the License.
13168404Spjd *
14168404Spjd * When distributing Covered Code, include this CDDL HEADER in each
15168404Spjd * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16168404Spjd * If applicable, add the following below this CDDL HEADER, with the
17168404Spjd * fields enclosed by brackets "[]" replaced with your own identifying
18168404Spjd * information: Portions Copyright [yyyy] [name of copyright owner]
19168404Spjd *
20168404Spjd * CDDL HEADER END
21178414Sjb *
22178414Sjb * $FreeBSD: stable/10/sys/cddl/compat/opensolaris/sys/mntent.h 326328 2017-11-28 17:33:10Z asomers $
23168404Spjd */
24168404Spjd/*
25168404Spjd * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
26168404Spjd * Use is subject to license terms.
27168404Spjd *
28168404Spjd *	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
29168404Spjd *		All Rights Reserved
30168404Spjd */
31168404Spjd
32168404Spjd#ifndef	_OPENSOLARIS_SYS_MNTENT_H_
33168404Spjd#define	_OPENSOLARIS_SYS_MNTENT_H_
34168404Spjd
35168404Spjd#include <sys/param.h>
36168404Spjd#include_next <sys/mount.h>
37168404Spjd
38168404Spjd#define	MNTMAXSTR	128
39168404Spjd
40168404Spjd#define	MNTTYPE_ZFS	"zfs"		/* ZFS file system */
41168404Spjd
42168404Spjd#define	MNTOPT_RO	"ro"		/* Read only */
43168404Spjd#define	MNTOPT_RW	"rw"		/* Read/write */
44168404Spjd#define	MNTOPT_NOSUID	"nosuid"	/* Neither setuid nor devices allowed */
45168404Spjd#define	MNTOPT_DEVICES	"devices"	/* Device-special allowed */
46168404Spjd#define	MNTOPT_NODEVICES	"nodevices"	/* Device-special disallowed */
47168404Spjd#define	MNTOPT_SETUID	"setuid"	/* Set uid allowed */
48168404Spjd#define	MNTOPT_NOSETUID	"nosetuid"	/* Set uid not allowed */
49326328Sasomers#define	MNTOPT_REMOUNT	"update"	/* Change mount options */
50168404Spjd#define	MNTOPT_ATIME	"atime"		/* update atime for files */
51168404Spjd#define	MNTOPT_NOATIME  "noatime"	/* do not update atime for files */
52168404Spjd#define	MNTOPT_XATTR	"xattr"		/* enable extended attributes */
53168404Spjd#define	MNTOPT_NOXATTR	"noxattr"	/* disable extended attributes */
54168404Spjd#define	MNTOPT_EXEC	"exec"		/* enable executables */
55168404Spjd#define	MNTOPT_NOEXEC	"noexec"	/* disable executables */
56168404Spjd#define	MNTOPT_RESTRICT	"restrict"	/* restricted autofs mount */
57185029Spjd#define	MNTOPT_NBMAND	"nbmand"	/* allow non-blocking mandatory locks */
58185029Spjd#define	MNTOPT_NONBMAND	"nonbmand"	/* deny non-blocking mandatory locks */
59168404Spjd
60168404Spjd#endif	/* !_OPENSOLARIS_MNTENT_H_ */
61