Files
codex/codex-rs/exec-server/tests
jif 9a8b299471 Fix relative TMPDIR resolution in the Linux filesystem sandbox (#64976)
## Why

When `TMPDIR` is relative, `environment/info` resolves it against the
executor's working directory. The filesystem helper starts at the
filesystem root, so its `:tmpdir` rules could apply to a different directory.

## What changed

Use the executor's resolved temporary directory when binding `:tmpdir`
rules. Reject requests whose supplied temporary directories no longer
match the executor, and preserve the helper's original `TMPDIR` for
scratch files.

## Testing

Add a Linux integration test covering `:tmpdir` read grants and denials,
rejection of stale temporary directory information after the executor's
working directory moves, and a write without a `:tmpdir` rule.

GitOrigin-RevId: 6772c17251500dae3f6b0a2b17ee95955289e89b
2026-12-01 11:34:33 +00:00
..
…