diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-11-09 19:15:01 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-11-09 19:33:33 +0100 |
commit | 34b491e735ad47c4805e63f3b83a659b8d10262b (patch) | |
tree | 733fb32936d1fb4a2ec7230c54addb4bcb58e95f /cmdline/apt-extracttemplates.h | |
parent | 2c30cf43f1c4ab96f3eca849d7eb4923ffed40b1 (diff) |
reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges
We can't cleanup the environment like e.g. sudo would do as you usually
want the environment to "leak" into these helpers, but some variables
like HOME should really not have still the value of the root user – it
could confuse the helpers (USER) and HOME isn't accessible anyhow.
Closes: 842877
Diffstat (limited to 'cmdline/apt-extracttemplates.h')
0 files changed, 0 insertions, 0 deletions