diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-11-09 19:15:01 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-02-22 16:53:45 +0100 |
commit | cc5919076ba1c2dab773a6c06cb3dd5497f0c656 (patch) | |
tree | fdbe5bf7935bd1c67e35d1c9e2918056cb888701 /prepare-release | |
parent | 5605c9880f36c764baaca59328777d34645a32fa (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
(cherry picked from commit 34b491e735ad47c4805e63f3b83a659b8d10262b)
Diffstat (limited to 'prepare-release')
0 files changed, 0 insertions, 0 deletions