Files
codex/codex-rs/linux-sandbox/src
dhavalkapil-oai 7eaaee4270 Block request_key in Linux network sandbox filters (#61256)
## Why

`request_key` can invoke host helpers that make network requests outside the sandbox's network namespace and proxy policy.

## What changed

Deny `request_key` with `EPERM` in the `Restricted` and `ProxyRouted` seccomp modes, leaving `VmSocketRestricted` unchanged.

## Testing

Add a threaded syscall regression test covering all three modes. Install a baseline filter returning `ENOSYS` so the probe cannot invoke host helpers and inherited `EPERM` filters cannot hide regressions.

GitOrigin-RevId: 196de45ea4da3e40d2f2264ff88ed10d3e5bcdda
2026-11-13 04:50:31 +00:00
..