[PATCH roland/env-only] Avoid re-exec-self in bug-setlocale1.
Florian Weimer
fweimer@redhat.com
Thu Mar 5 08:55:00 GMT 2015
On 03/04/2015 10:23 PM, Roland McGrath wrote:
> This extends the makefile infrastructure for tests to use a variable
> <testname>-ENV-only that is like the existing <testname>-ENV but for
> cases where the test program should run with a completely bare
> environment except for the explicit assignments in the makefile.
> This lets us get rid of the use of execve in bug-setlocale1 (and any
> similar cases I have not yet noticed).
Some things break if you run them with certain locale settings, so some
tests lack this environment isolation.
I wanted to sanitize the environment more thoroughly, for all tests:
<https://sourceware.org/ml/libc-alpha/2014-09/msg00100.html>
I haven't implemented the env -u suggestion yet.
--
Florian Weimer / Red Hat Product Security
More information about the Libc-alpha
mailing list