mirror of
https://github.com/openai/codex.git
synced 2026-09-28 08:43:01 +08:00
## Why System libcurl needs access to `com.apple.TrustEvaluationAgent` for TLS, but Seatbelt network profiles did not allow lookup of this service. ## What changed Allow `mach-lookup` for this service when unrestricted networking is enabled or a restricted profile permits proxy ports or local binding. Keep access denied for network-disabled, Unix-socket-only, and managed profiles without usable endpoints. ## Testing Add macOS regression tests that apply Seatbelt policies and check trust-service access and loopback connections without external network dependencies. Cover managed-network overrides and verify that unrelated service lookups and connections to unapproved ports remain denied. GitOrigin-RevId: 8b190d6181fe1321186837557caa379275abfaee