[Bug 272127] fdescfs with linkrdlnk fails openat with O_DIRECTORY unless "ls -l" done in fdescfs dir first...
Date: Tue, 27 Jun 2023 10:43:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272127
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=3bffa2262328e4ff1737516f176107f607e7bc76
commit 3bffa2262328e4ff1737516f176107f607e7bc76
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-06-22 13:30:59 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-06-27 10:43:17 +0000
fdescfs: improve linrdlnk mount option
Instead of using VV_READLINK vnode flag and checking it in one place,
just assign VLNK type to the Fdesc vnodes for linrdlnk mounts. Then all
places where symlinks needs to be followed, e.g. lookup(), are handled.
PR: 272127
Reported by: Peter Eriksson <pen@lysator.liu.se>
Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D40700
sys/fs/fdescfs/fdesc_vnops.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.