Files
codex/codex-rs/linux-sandbox/tests/suite
viyatb-oai a11d2403a5 Fix proc mount fallback detection for Bubblewrap 0.12 (#61900)
## Why

Bubblewrap 0.12 reports proc mount failures at `/proc` instead of `/newroot/proc`, so the Linux sandbox preflight did not recognize failures that should enable the existing fallback.

## What changed

Recognize both destinations for `Invalid argument`, `Operation not permitted`, and `Permission denied`. Match the destination and error on the same diagnostic line to avoid treating unrelated errors as proc mount failures.

## Testing

Extend unit tests to cover both diagnostic formats and reject unrelated destinations, unsupported errors, and errors on separate lines. Exercise the fallback and explicit PID namespace inheritance integration test with both destinations.

GitOrigin-RevId: 7cb0d004cd88ec3dcf14960497c1fac665e6e74a
2026-11-16 22:41:51 +00:00
..