Really enable core dumps in Linux
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Sep 2010 04:19:19 +0000 (13:49 +0930)
committerMichael Adam <obnox@samba.org>
Wed, 22 Sep 2010 00:02:39 +0000 (02:02 +0200)
commit2ec067f43fd8844adef8590e605c341449e7be00
tree0362e9e96f5878c1526cec43bf6885354e1381ab
parent946de2d0a6a1107bd80758f78b7cc68fd8d20134
Really enable core dumps in Linux

commit e1f1ce68e1f685400a8c68bcec14018e3d1fc29d
Author: Rusty Russell <rusty@rustcorp.com.au>
Date:   Mon Sep 20 13:33:30 2010 +0930

    source3: dump core on Linux, even after seteuid/etc.

    The "dumpable" flag is reset on every call to set*uid, so we need to
    reset it to 1 in the signal handler itself.

    This code dates back to commit ac01fda2b97b 6 years ago :(

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
source3/lib/fault.c