diff options
| author | 2016-05-29 11:56:51 +0200 | |
|---|---|---|
| committer | 2016-07-05 13:01:56 +0200 | |
| commit | cee8f0186ce3277add9b6a8ac07588be40f0f080 (patch) | |
| tree | 237d094d90ca3497343b179e7a4d8c91b8f0e101 /README | |
| parent | Fix url parsing in load() (diff) | |
Check $HOME and home dir of $USER before getpwuid()->pw_dir
getpwnam(3) recommends to use $HOME instead of getpwuid()->pw_dir,
as it allows users to point programs to a different path.
Using getpwuid() also breaks namespaces-related use cases,
like `unshare -r`.
Patch was submitted by Dmitry Bogatov on the Debian bug tracker:
https://bugs.debian.org/825397
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions
