aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/kern/execve/(developers-only)
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2026-09-15 21:23:50 +0000
committerAlan Somers <asomers@FreeBSD.org>2026-09-23 22:32:37 +0000
commit0bd6348b52e1991fafc55128173c989dab36dfd9 (patch)
treeb1d39060204d95f6a8305c33a7c1de8a930a9ec5 /tests/sys/kern/execve/(developers-only)
parentddaa6746a30b458ba234324622a66747d09a2b6c (diff)
fusefs: fix a deadlock caused by daemons that never initializeHEADmain
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 'tests/sys/kern/execve/(developers-only)')
0 files changed, 0 insertions, 0 deletions