]> git.saurik.com Git - apt.git/commitdiff
reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 9 Nov 2016 18:15:01 +0000 (19:15 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 9 Nov 2016 18:33:33 +0000 (19:33 +0100)
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

No differences found