]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
trap: Allow chdir /tmp even if prctl not supported.
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Mon, 1 Oct 2018 15:57:36 +0000 (16:57 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 3 Oct 2018 07:47:31 +0000 (09:47 +0200)
commit19b94586321f8f0aac2c0f4b5e210a87db75199d
tree0e5eacd5867de84c4182e2a462936e1455f75dd5
parent897f65aa7fd129c0787b496b1d5fda7051cf5c18
trap: Allow chdir /tmp even if prctl not supported.

Even though prctl is Linux specific, other platforms allow core
dumps to occur in the cwd, so it's useful to allow the "cd /tmp"
for those platforms if the existing --dump option is specified.
src/main.c