-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Allow ptrace in the restricted-network Linux sandbox #16011
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestsandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxing
Description
What variant of Codex are you using?
IDE Extension
What feature would you like to see?
I would like ptrace to work in restricted-network Linux sandbox sessions.
Without ptrace, Codex is much less useful for debugging native code. My main use case is QEMU/KVM development.
Today, the following command fails, which I would like to succeed:
codex sandbox linux --full-auto -c 'sandbox_workspace_write.network_access=false' strace trueAdditional information
For comparison, this already works today when network access is enabled:
codex sandbox linux --full-auto -c 'sandbox_workspace_write.network_access=true' strace trueptrace also does not work with managed proxy mode, even when network access is enabled:
codex exec -p <managed-proxy-profile> --full-auto 'Run `strace true`.'However, managed proxy mode is not my use case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxing