Le vendredi 30 avril 2010 à 12:00 +0200, freeradius-devel-request@lists.freeradius.org a écrit :
Send Freeradius-Devel mailing list submissions to freeradius-devel@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeradius.org/mailman/listinfo/freeradius-devel or, via email, send a message with subject or body 'help' to freeradius-devel-request@lists.freeradius.org
You can reach the person managing the list at freeradius-devel-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Devel digest..."
Today's Topics:
1. Re: cannot get core dump of crashing freeradius (Jakob Hirsch) 2. GIT Log for 2010-04-29 23:33 GMT (aland) 3. rlm_ldap & TCP KeepAlive (Fred MAISON) 4. Re: rlm_ldap & TCP KeepAlive (Alan DeKok)
----------------------------------------------------------------------
Message: 1 Date: Thu, 29 Apr 2010 18:01:27 +0200 From: Jakob Hirsch <jh@plonk.de> Subject: Re: cannot get core dump of crashing freeradius To: FreeRadius developers mailing list <freeradius-devel@lists.freeradius.org> Message-ID: <4BD9AD57.3010807@Message-ID.plonk.de> Content-Type: text/plain; charset="iso-8859-1"
Hi,
follow from the users list, belongs not really there, I think.
Alan DeKok, 2010-04-26 17:24:
This will become a non-issue when the prctl() calls are moved into the fr_suid_* functions. :) Would you like me to prepare a patch for that or would you rather do that yourself? Patch, please. It's just easier.
Is attached. I found no way to enable the process's dumpable flag permanently, so I just re-enable it on every uid/gid change. Not really elegant...
I also propose a second (one-line) patch that allows core dumps also when running in debug mode (as mentioned on the users list).
Note that the patches are not really tested, will probably do that tomorrow...