aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2023-02-23 13:15:17 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2023-03-02 02:30:24 +0000
commit84494004f9258b90f34c535cc5de6a176b0ee2b0 (patch)
tree4fa30a36d4bfcee0114e7754b1e7bf16de5bbb6d
parent3912f99ecae61dc7fe89c076a654332e3adb1bdc (diff)
downloadsrc-84494004f9258b90f34c535cc5de6a176b0ee2b0.tar.gz
src-84494004f9258b90f34c535cc5de6a176b0ee2b0.zip
tmpfs: support the nosymfollow mount option
PR: 269772 (cherry picked from commit 15df90218bb62df96ce27f47ad9953f4c1f37900)
-rw-r--r--sys/fs/tmpfs/tmpfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c
index 883cdd060ce6..019d04adc75f 100644
--- a/sys/fs/tmpfs/tmpfs_vfsops.c
+++ b/sys/fs/tmpfs/tmpfs_vfsops.c
@@ -93,11 +93,11 @@ static int tmpfs_statfs(struct mount *, struct statfs *);
static const char *tmpfs_opts[] = {
"from", "size", "maxfilesize", "inodes", "uid", "gid", "mode", "export",
- "union", "nonc", "nomtime", NULL
+ "union", "nonc", "nomtime", "nosymfollow", NULL
};
static const char *tmpfs_updateopts[] = {
- "from", "export", "nomtime", "size", NULL
+ "from", "export", "nomtime", "size", "nosymfollow", NULL
};
static int