Repository navigation
fix(cas): 修复 proot 链接提示导致插件扫描误拒绝 - #285
Open
lzh2034855417-beep wants to merge 9 commits into
Open
lzh2034855417-beep wants to merge 9 commits into
lzh2034855417-beep wants to merge 9 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与结果
修复
proot --link2symlink下目录项报告为链接、NOFOLLOW stat 已翻译为常规文件时,静止插件文件被误判为“核验期间变化”并阻断启动的问题。dirent_mode仅对链接提示补充目录 FD 锚定的 NOFOLLOW stat,仅把非 reparse 的常规文件归一为 REG。初始、遍历和最终分类共用该逻辑;普通 REG 提示保留原快速路径,真实链接仍走完整快照与发布前独立核验,raw inode、目录成员/稳定性、取消与事务拒绝边界继续保留。Fixes #282
验证
455b9a06d2dd3c077f73c9f9d78daa9874344707的 Source checks五任务及Docs三任务全部通过。官方source-only JVM:4495项,0 failures / 0 errors / 0 skipped;fast宿主清单97个执行入口全部PASS。这是源码模式,不扩写成完整APK或实机验收。c6ccbe913d5acdc7a4f4468f54ea7948c1e870ea46ab5428550517d91976c6d4。最终候选仅修改生产脚本、既有扫描回归、运行时描述符及未发布CHANGELOG;临时验证工作流已从最终差异删除。
验证边界
复现使用Linux真实FD/文件系统及合成DirEntry提示,不是Android proot真机验证。每个链接提示增加stat;尚未测真实设备大目录耗时或取消延迟。未修改基础Ubuntu、DSH版本、固定输入锁、包名或签名;没有在本机运行项目代码。