DashboardopencodeGo helper opens THP sysfs

Go helper opens THP sysfs

Category: gotcha
Confidence: 1.00
ID: 01a07fe2-0302-72bc-9312-190a9b53179f
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 11qIXHPNH6kwizEpW
Created: 2026-09-08 07:18:33
Updated: 2026-09-08 07:18:33

Content

Trap: claiming opencode-pty-client opens no paths looks correct because application code uses only inherited fd 3/4, but the Go runtime may open /sys/kernel/mm/transparent_hugepage/hpage_pmd_size before main. Fix: constrain acceptance to no application-initiated path/socket opens and enumerate permitted runtime reads, or build an artifact that satisfies the absolute syscall invariant.

Move to: