glibc/sysdeps
Florian Weimer 7b543dcdf9 elf: Ignore LD_PROFILE if LD_PROFILE_OUTPUT is not set (bug 33797)
The previous default for LD_PROFILE_OUTPUT, /var/tmp, is insecure
because it's typically a 1777 directory, and other systems could
place malicious files there which interfere with execution.

Requiring the user to specify a profiling directory mitigates
the impact of bug 33797.  Clear LD_PROFILE_OUTPUT alongside
with LD_PROFILE.

Rework the test not to use predictable file names.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2026-01-19 08:36:56 +01:00
..
aarch64 aarch64: Fix LD_AUDIT with GCS in permissive mode 2026-01-14 15:00:24 -03:00
alpha Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
arc Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
arm Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
csky Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
generic elf: Ignore LD_PROFILE if LD_PROFILE_OUTPUT is not set (bug 33797) 2026-01-19 08:36:56 +01:00
gnu Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
hppa Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
htl Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
hurd hurd: Fix sigreturn clobbering some xmm registers 2026-01-11 02:03:31 +01:00
i386 Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
ieee754 ldbl-128ibm-compat: Add local aliases for printf family symbols 2026-01-12 12:40:29 -05:00
loongarch Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
m68k Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
mach hurd: make __thread_set_pcsptp align stack 2026-01-17 15:15:33 +01:00
microblaze Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
mips Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
nptl Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
or1k Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
posix Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
powerpc Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
pthread Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
riscv Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
s390 Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
sh Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
sparc Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
unix aarch64: Fix LD_AUDIT with GCS in permissive mode 2026-01-14 15:00:24 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
x86 aarch64: Fix LD_AUDIT with GCS in permissive mode 2026-01-14 15:00:24 -03:00
x86_64 x86: Fix x86_64 build failure with -Os (BZ 33367) 2026-01-12 10:34:40 -03:00