Subject: CVS commit: src/libexec/ld.elf_so
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 11/22/2006 21:46:37
Module Name: src
Committed By: christos
Date: Wed Nov 22 21:46:37 UTC 2006
Modified Files:
src/libexec/ld.elf_so: rtld.c
Log Message:
From defend dot the dot world at gmail dot com: Sanitize environment variables
for set{u,g}id binaries, so that in case they are playing with set{u,g}id
and exec'ing other binaries they don't get affected by the
LD_{PRELOAD,DEBUG,LIBRARY_PATH} environment setup. We leave LD_BIND_NOW alone.
There are no binaries affected in the base system.
To generate a diff of this commit:
cvs rdiff -r1.110 -r1.111 src/libexec/ld.elf_so/rtld.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.