refactor: remove unused seatbelt unix socket arg (#12707)

https://github.com/openai/codex/pull/12052 introduced an
`allowed_unix_socket_paths` parameter to
`create_seatbelt_command_args()`, but
https://github.com/openai/codex/pull/12649 removed the abstraction that
#12052 introduced, so this parameter is no longer necessary as it is
always an empty slice.
This commit is contained in:
Michael Bolin authored and GitHub committed 2026-02-24 12:30:26 -08:00
1 parent daf0f03ac8
commit 3b5fc7547e
2 files changed
+7 -75

No files matched your search

-1
View File
@@ -353,7 +353,6 @@ impl SandboxManager {
sandbox_policy_cwd,
enforce_managed_network,
network,
&[],
);
let mut full_command = Vec::with_capacity(1 + args.len());
full_command.push(MACOS_PATH_TO_SEATBELT_EXECUTABLE.to_string());