This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH roland/env-only] Avoid re-exec-self in bug-setlocale1.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]