diff --git a/codex-rs/cli/src/debug_sandbox.rs b/codex-rs/cli/src/debug_sandbox.rs index ea0e494705..f7bab45231 100644 --- a/codex-rs/cli/src/debug_sandbox.rs +++ b/codex-rs/cli/src/debug_sandbox.rs @@ -470,12 +470,9 @@ mod tests { ) .await?; - let config = load_debug_sandbox_config_with_codex_home( - Vec::new(), - false, - Some(codex_home_path), - ) - .await?; + let config = + load_debug_sandbox_config_with_codex_home(Vec::new(), false, Some(codex_home_path)) + .await?; assert!(config_uses_permission_profiles(&config)); assert!( diff --git a/codex-rs/core/src/landlock.rs b/codex-rs/core/src/landlock.rs index 07a912dc62..14e9c13fdc 100644 --- a/codex-rs/core/src/landlock.rs +++ b/codex-rs/core/src/landlock.rs @@ -19,7 +19,7 @@ use tokio::process::Child; /// split filesystem/network policies as JSON so the helper can migrate /// incrementally without breaking older call sites. #[allow(clippy::too_many_arguments)] -pub async fn spawn_command_under_linux_sandbox

( +pub async fn spawn_command_under_linux_sandbox( command: Vec, command_cwd: PathBuf, sandbox_policy: &SandboxPolicy,