mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
Fix Linux sandbox helper signature
This commit is contained in:
@@ -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!(
|
||||
|
||||
@@ -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<P>(
|
||||
pub async fn spawn_command_under_linux_sandbox(
|
||||
command: Vec<String>,
|
||||
command_cwd: PathBuf,
|
||||
sandbox_policy: &SandboxPolicy,
|
||||
|
||||
Reference in New Issue
Block a user