我在 openssh/telnet 代码中使用以下设置用户环境。
setenv("TEST_ENV", "testing", 1);
但这可以由用户修改,无论如何使它成为只读环境变量?
environment-variables
environment-variables ×1