mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why Local MCP servers communicate over stdio, so unrelated parent file descriptors should not propagate into the server or its descendants. ## What changed Apply `DescriptorPolicy::StdioOnly` when launching local stdio MCP servers on Unix, preserving their explicit transport stdio. ## Testing Add Unix integration tests that check inheritable pipe, socket, and file descriptors are absent from servers and descendants across absolute, relative, and shell-fallback launches. Verify MCP communication, arguments, environment, working directory, parent descriptor ownership, and exec failure reporting remain intact. GitOrigin-RevId: 37409a5673dbaafa851fd1f78e3a2443eda5f7c6