]> git.ipfire.org Git - thirdparty/bind9.git/commit
Write traceback file to the same directory as core file
authorMichal Nowak <mnowak@isc.org>
Tue, 24 Nov 2020 16:39:23 +0000 (17:39 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 26 Nov 2020 17:29:41 +0000 (18:29 +0100)
commitf48b221ffaccddbf371a7fcfe8947df2747b514a
treecbf161c55f304903e9b96c0486f4fd32f7b7c944
parenta50ce1bd43dd3fd76b39036e8f4efe0d1e5616d7
Write traceback file to the same directory as core file

The traceback files could overwrite each other on systems which do not
use different core dump file names for different processes.  Prevent
that by writing the traceback file to the same directory as the core
dump file.

These changes still do not prevent the operating system from overwriting
a core dump file if the same binary crashes multiple times in the same
directory and core dump files are named identically for different
processes.

(cherry picked from commit 6428fc26af232e0954b65347c1a232e203377321)
bin/tests/system/run.sh