lib/util/fault.c: Unify printing of the stack trace with the INTERNAL ERROR string
authorAndrew Bartlett <abartlet@samba.org>
Tue, 25 Feb 2020 23:02:36 +0000 (12:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 27 Feb 2020 05:09:44 +0000 (05:09 +0000)
commitf7fe6fa5505bddb6d7bb4a571f61ecb35e9a59dd
tree8c2dad18ff0f856852903363bd07bcdd0dd42b9a
parent4ee326f31d1a26e0cbe691c2948b06cefa29caf2
lib/util/fault.c: Unify printing of the stack trace with the INTERNAL ERROR string

We can diverged into the s3 and lib/fault panic action stuff once
we have printed the backtrace.

Our tests require we use the word PANIC, and some administrative scripts
might look for similar things, so keep those words.

The use of DEBUG(0, ... is deliberate to keep the output
of the PANIC line as consistent as possible with the historical smbd output.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 27 05:09:44 UTC 2020 on sn-devel-184
lib/util/fault.c
lib/util/fault.h
source3/lib/util.c
source3/utils/regedit.c