TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

9p filesystem has been added to FreeBSD

22 pointsby rodrigo97511 months ago

3 comments

dwheeler11 months ago
This patch uses heuristics that seem dangerous to me:<p>&gt; The 9P filesystem protocol relies on stateful file opens which map protocol-level FIDs to host file descriptors. The FreeBSD vnode interface doesn&#x27;t really support this and we use heuristics to guess the right FID to use for file operations. This can be confused by privilege lowering and does not guarantee that the FID created for a given file open is always used for file operations, even if the calling process is using the file descriptor from the original open call. Improving this would involve changes to the vnode interface which is out-of-scope for this import.<p>Where would you use something with such unreliable heuristics??
评论 #40728805 未加载
buggeryorkshire11 months ago
Good Lord this brings back bad memories - I used 9p around 7 years ago for a secure government system, it was horrific. I did report the bug, with all the details etc, but it was basically unmaintained. IIRC the issue was it was using up file handles under pressure to a point where the host died.<p>It&#x27;s a great idea but really hope it&#x27;s better now.
评论 #40730957 未加载
falcor8411 months ago
Could someone please explain the significance of this?
评论 #40728866 未加载
评论 #40728766 未加载
评论 #40728742 未加载
评论 #40728763 未加载