git: 15df90218bb6 - main - tmpfs: support the nosymfollow mount option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Feb 2023 13:17:21 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=15df90218bb62df96ce27f47ad9953f4c1f37900
commit 15df90218bb62df96ce27f47ad9953f4c1f37900
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-02-23 13:15:17 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-02-23 13:15:17 +0000
tmpfs: support the nosymfollow mount option
PR: 269772
Reported by: firk@cantconnect.ru
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
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 682636d20725..a856d99e43e5 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", "easize", "size", "maxfilesize", "inodes", "uid", "gid", "mode",
- "export", "union", "nonc", "nomtime", NULL
+ "export", "union", "nonc", "nomtime", "nosymfollow", NULL
};
static const char *tmpfs_updateopts[] = {
- "from", "easize", "export", "nomtime", "size", NULL
+ "from", "easize", "export", "nomtime", "size", "nosymfollow", NULL
};
static int