File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -274,16 +274,15 @@ async fn run_command_under_sandbox(
274274 let codex_linux_sandbox_exe = config
275275 . codex_linux_sandbox_exe
276276 . expect ( "codex-linux-sandbox executable not found" ) ;
277- let use_bwrap_sandbox = config
278- . features
279- . enabled ( codex_core:: features:: Feature :: UseLinuxSandboxBwrap ) ;
277+ let use_legacy_landlock = config. features . use_legacy_landlock ( ) ;
280278 let args = create_linux_sandbox_command_args_for_policies (
281279 command,
280+ cwd. as_path ( ) ,
282281 config. permissions . sandbox_policy . get ( ) ,
283282 & config. permissions . file_system_sandbox_policy ,
284283 config. permissions . network_sandbox_policy ,
285284 sandbox_policy_cwd. as_path ( ) ,
286- use_bwrap_sandbox ,
285+ use_legacy_landlock ,
287286 false ,
288287 ) ;
289288 let network_policy = config. permissions . network_sandbox_policy ;
You can’t perform that action at this time.
0 commit comments