Really enable core dumps in Linux
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Sep 2010 04:19:19 +0000 (13:49 +0930)
committerJeremy Allison <jra@samba.org>
Mon, 20 Sep 2010 20:15:17 +0000 (13:15 -0700)
commitdc192787955542510724541cf23b4d8ed4cc99d4
treecceb12761506b4c6411d82f6e37315a2fb6e2a1e
parent2c9cb11f53cb6454c0941028f6c4339244f2af93
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>
source3/lib/fault.c