feat(proc): Cleaner 跨进程修复(tool/input/output) + 共享内存安全模式 + plan §13

- Cleaner 协议统一为 cleaner.invoke(scope,name,text),覆盖工具/输入/输出三类
- 新增 ShmSecurityMode (safe/debug/full),Linux 审计探针,Windows crypto nonce
- plan.md 追加 §13 步骤分组
This commit is contained in:
JianFeeeee
2026-09-10 10:21:50 +08:00
parent 580d5f5501
commit 7a328679da
12 changed files with 645 additions and 45 deletions

View File

@ -0,0 +1,11 @@
//go:build !linux
package proc
// countOurShmMappings 在非 Linux 平台返回 ok=false(无 /proc 探针)。
//
// macOS 无 /proc;Windows 无 fd 继承,命名对象的映射计数需走 Win32 API,
// 当前阶段不实现,留给调用方跳过告警。
func (h *Host) countOurShmMappings() (int, bool) {
return 0, false
}