TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

9p filesystem has been added to FreeBSD

22 点作者 rodrigo97512 个月前

3 条评论

dwheeler12 个月前
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 未加载
buggeryorkshire12 个月前
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 未加载
falcor8412 个月前
Could someone please explain the significance of this?
评论 #40728866 未加载
评论 #40728766 未加载
评论 #40728742 未加载
评论 #40728763 未加载