Repository navigation
Conversation
…nd acceptance gates
…ook lifetime risk
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.
Objective
One PatchNest runtime with two deployment backends:
Implemented
/dev/patchneststatus ioctl; capability mask remains 0,NOT_READYby design.patchnest-statusCLI that verifies native ABI rather than guessing from root.-EBUSYwhen control/event callback is still active; bounded event snapshot; per-call ctl0 arguments.Hard blockers — draft / do not flash
This is not a completed KPM runtime and cannot be shipped as AK3 or a reliable patched ZIP.
e_shstrndx、sh_name与sh_link边界,恶意 KPM 可触发内核越界读写 #13), other auth/security open issues [P0][AuthZ] 已授权 UID 无需超级密钥即可授权其他 UID、关闭安全模式并改写全局隐藏策略 #6–[RCU Leak] 查询不存在的 KPM 时直接返回,未释放rcu_read_lock()#15, and persistent crash safety boot-counter correction.See
docs/PATCHNEST_DUAL_BACKEND.mdfor the exact acceptance gates.2026-10-14 continuation: native integration workflow
ports/linux-native/integrate.sh: defaults to dry-run; explicit opt-in to stage Kconfig/Makefile/driver into an existing kernel tree; repeatable without duplicate stanzas; refuses conflicting driver or ABI rather than overwriting.