]> 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)
committerperexg <perex@perex.cz>
Tue, 2 Oct 2018 14:04:06 +0000 (16:04 +0200)
commitb540f4cad0da34e875dd54994c3f12d9ac25c9e7
treecc19de912ba96a2ce0eec7cb61d2b74e2531f813
parent5f8b814440d99a2737118a11ed3b78d9ff5fc1b6
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