diff options
author | Jakob Unterwurzacher | 2018-06-07 23:06:03 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-06-07 23:09:27 +0200 |
commit | fb772da6975eec186161fb00ededc2aef43f9eb9 (patch) | |
tree | dbc30f31d27c5bc933a0a2ea2ed22d67878a075a /internal/prefer_openssl/prefer_go1.5.go | |
parent | 10212d791a3196c2c8705a7a3cccdeb14a8efdbe (diff) |
main: forkChild: try to read /proc/self/exe
On Linux, where /proc exists, this makes sure that we are
executing ourselves again, and not some other copy of the
gocryptfs executable.
This usually does not matter, but mount(1) unsets $PATH
and sets argv[0] to just "gocryptfs".
Diffstat (limited to 'internal/prefer_openssl/prefer_go1.5.go')
0 files changed, 0 insertions, 0 deletions