git: 84494004f925 - stable/13 - tmpfs: support the nosymfollow mount option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 02:30:53 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=84494004f9258b90f34c535cc5de6a176b0ee2b0
commit 84494004f9258b90f34c535cc5de6a176b0ee2b0
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-02-23 13:15:17 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-03-02 02:30:24 +0000
tmpfs: support the nosymfollow mount option
PR: 269772
(cherry picked from commit 15df90218bb62df96ce27f47ad9953f4c1f37900)
---
sys/fs/tmpfs/tmpfs_vfsops.c | 4 ++--
1 file 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