Explicitly provide env vars instead of inheriting them from parent
setuid binaries tend to disable variables like `LD_LIBRARY_PATH` to prevent arbitrary code execution with elevated privileges. As a result, `isolate` disables such variables and they are not passed to the process. This leads to problems in runtimes that have such variables in their environment such as gcc.
合并状态:已合并 合并于 2025-02-08 关闭于 2025-02-08 0 条评论