diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-24T13·31+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-24T13·31+0000 |
commit | 84a84afb0ec60551c606fa95699afb6153465704 (patch) | |
tree | 082ad3b91828660f52b070165196a4f37102694e /tests/lang/lib.nix | |
parent | fac63d6416ae0f7aec6c986d9d258b25047a24e2 (diff) |
* Nasty: Glibc clears the TMPDIR environment variable in setuid
programs, so if a builder uses TMPDIR, then it will fail when executed through nix-setuid-helper. In fact Glibc clears a whole bunch of variables (see sysdeps/generic/unsecvars.h in the Glibc sources), but only TMPDIR should matter in practice. As a workaround, we reinitialise TMPDIR from NIX_BUILD_TOP.
Diffstat (limited to 'tests/lang/lib.nix')
0 files changed, 0 insertions, 0 deletions