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>
Thu, 30 Sep 2010 10:36:14 +0000 (12:36 +0200)
commit6fc5bad7030ba49b97e1bfc239934faaaa212ba3
tree0ae20d50834b7878ce933227588019f588219dd0
parente61e366ad79eda9670b5fe91d4ebefb6a60e50ec
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