mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
481c84e118
This fixes the build of codex on NetBSD.
481c84e118
ยท
2025-11-24 11:46:43 -08:00
History
codex-process-hardening
This crate provides pre_main_hardening(), which is designed to be called pre-main() (using #[ctor::ctor]) to perform various process hardening steps, such as
- disabling core dumps
- disabling ptrace attach on Linux and macOS
- removing dangerous environment variables such as
LD_PRELOADandDYLD_*