diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-11-19 23:28:19 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-11-19 23:28:19 +0000 |
commit | 70aecc46b03b3ab9e96b969cc32e100f1eb3a98c (patch) | |
tree | a47fdf95423633afc2c0bd9969e52e5546d14850 /sys/ufs | |
parent | 2649691fbc4934d86581352971af1e15c1ea50ef (diff) | |
download | FreeBSD-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.c | 5 |
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) |