Files
codex/codex-rs/linux-sandbox/src
adaml-oai 5cba3aec84 Support transparent TCP with inherited PID namespaces (#62100)
## What changed

Allow transparent TCP with `--linux-sandbox-pid-namespace=inherit` while keeping PID isolation as the default. In inherited mode, use the existing `/proc` view and verify socket visibility before starting the command.

Run the relay and workload as separate supervised children, protect relay descriptors from inspection, and kill the workload's process group if the relay exits first. Document cleanup behavior and the limits on terminating background descendants in inherited mode.

## Testing

Extend managed TCP integration coverage to inherited PID namespaces, including namespace identity, existing network and filesystem restrictions, and workload process-group cleanup after relay failure.

GitOrigin-RevId: c40befb95f10af39e9607235c3d78a04142ac168
2026-11-17 19:10:29 +00:00
..
…