mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
## Why Sandboxed descendants can outlive their immediate parent and must be collected by PID 1 in the Bubblewrap namespace. ## What changed - Launch `codex-linux-sandbox` with Bubblewrap's `--as-pid-1` option, and fall back to the bundled Bubblewrap when the system version does not support it. - Run the sandboxed command as a child, forward signals to it, reap other exited descendants, and preserve the command's exit status. - Verify proxy bridge parent identity when arming its parent-death signal. ## Testing Added Linux sandbox coverage for the filtered namespace reaper, orphan collection, and fallback from an incompatible system Bubblewrap. GitOrigin-RevId: 379f08d6c2732ea0a4caeb61f93ae302e16d2458