diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2026-09-15 21:23:50 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2026-09-23 22:32:37 +0000 |
| commit | 0bd6348b52e1991fafc55128173c989dab36dfd9 (patch) | |
| tree | b1d39060204d95f6a8305c33a7c1de8a930a9ec5 /lib/clang/libllvmobjectyaml | |
| parent | ddaa6746a30b458ba234324622a66747d09a2b6c (diff) | |
If a daemon never responds to FUSE_INIT, but some process attempts to
access the mountpoint, and a different process (possibly the daemon
itself) attempts to unmount, a deadlock would result.
Fix this bug by blocking any thread that enters fuse_vfsop_root until
the daemon responds to FUSE_INIT or it times out. That will block any
thread attempting to lookup a path in the fuse mountpoint, before it
even gets to fuse VOPs. Remove less thorough initialization checks in
fuse_ticket_fetch and fuse_vnop_access that are no longer necessary.
And add a test case.
PR: 287431
MFC after: 2 weeks
Sponsored by: ConnectWise
Reviewed by: js
Differential Revision: https://reviews.freebsd.org/D59737
Diffstat (limited to 'lib/clang/libllvmobjectyaml')
0 files changed, 0 insertions, 0 deletions
