Skip to content
Commit 876a12e5 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

elf: Ignore loader debug env vars for setuid



Loader already ignores LD_DEBUG, LD_DEBUG_OUTPUT, and
LD_TRACE_LOADED_OBJECTS. Both LD_WARN and LD_VERBOSE are similar to
LD_DEBUG, in the sense they enable additional checks and debug
information, so it makes sense to disable them.

Also add both LD_VERBOSE and LD_WARN on filtered environment variables
for setuid binaries.

Checked on x86_64-linux-gnu.
Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent f85722f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment