Files
HomeAgent/internal/plugin/proc/shm_security_other.go
JianFeeeee 7a328679da 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 步骤分组
2026-09-10 10:21:50 +08:00

12 lines
339 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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