summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2005-11-19 23:28:19 +0000
committerrodrigc <rodrigc@FreeBSD.org>2005-11-19 23:28:19 +0000
commit70aecc46b03b3ab9e96b969cc32e100f1eb3a98c (patch)
treea47fdf95423633afc2c0bd9969e52e5546d14850 /sys/ufs
parent2649691fbc4934d86581352971af1e15c1ea50ef (diff)
downloadFreeBSD-src-70aecc46b03b3ab9e96b969cc32e100f1eb3a98c.zip
FreeBSD-src-70aecc46b03b3ab9e96b969cc32e100f1eb3a98c.tar.gz
Add more options to ffs_opts, so that vfs_filteropts() will not
complain when we pass these options to a UFS filesystem as strings via nmount(): noexec, nosuid, nosymfollow, sync, suiddir
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index e84b252..28e6c97 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -117,8 +117,9 @@ static struct buf_ops ffs_ops = {
};
static const char *ffs_opts[] = { "acls", "async", "errmsg", "export",
- "force", "from", "multilabel", "noasync", "noatime",
- "noclusterr", "noclusterw", "snapshot", "update", NULL };
+ "force", "from", "multilabel", "noasync", "noatime", "noclusterr",
+ "noclusterw", "noexec", "nosuid", "nosymfollow", "snapshot", "sync",
+ "suiddir", "update", "union", NULL };
static int
ffs_mount(struct mount *mp, struct thread *td)
OpenPOWER on IntegriCloud