summaryrefslogtreecommitdiff
path: root/tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg==
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-06-07 23:06:03 +0200
committerJakob Unterwurzacher2018-06-07 23:09:27 +0200
commitfb772da6975eec186161fb00ededc2aef43f9eb9 (patch)
treedbc30f31d27c5bc933a0a2ea2ed22d67878a075a /tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg==
parent10212d791a3196c2c8705a7a3cccdeb14a8efdbe (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 'tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg==')
0 files changed, 0 insertions, 0 deletions