permissions: move workspace roots onto thread state

This commit is contained in:
Michael Bolin
2026-05-13 12:54:30 -07:00
parent d666238b40
commit f65d5b52cb
169 changed files with 3991 additions and 2423 deletions
+1
View File
@@ -109,6 +109,7 @@ impl FileSystemSandboxRunner {
enforce_managed_network: false,
network: None,
sandbox_policy_cwd: cwd.as_path(),
workspace_roots: &sandbox_context.workspace_roots,
codex_linux_sandbox_exe: self.runtime_paths.codex_linux_sandbox_exe.as_deref(),
use_legacy_landlock: sandbox_context.use_legacy_landlock,
windows_sandbox_level: sandbox_context.windows_sandbox_level,