Re: Calling malloc from a signal handler

2008-09-19 Thread Daniel Eischen
On Fri, 19 Sep 2008, Stephen Montgomery-Smith wrote: I notice that if you use "malloc" from within a signal handler on FreeBSD-6.x, that you can potentially trigger a "recursive call" error. But this seems to have changed in FreeBSD-7.x. Is it now permissible to call "malloc" from within a si

Re: Calling malloc from a signal handler

2008-09-19 Thread Joerg Sonnenberger
On Fri, Sep 19, 2008 at 08:52:13AM -0500, Stephen Montgomery-Smith wrote: > Is it now permissible to call "malloc" from within a signal handler in > FreeBSD-7.x? No. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/l

Re: Calling malloc from a signal handler

2008-09-19 Thread Jason Evans
Stephen Montgomery-Smith wrote: I notice that if you use "malloc" from within a signal handler on FreeBSD-6.x, that you can potentially trigger a "recursive call" error. But this seems to have changed in FreeBSD-7.x. The malloc implementation is completely new in FreeBSD 7, so not all of the

Calling malloc from a signal handler

2008-09-19 Thread Stephen Montgomery-Smith
I notice that if you use "malloc" from within a signal handler on FreeBSD-6.x, that you can potentially trigger a "recursive call" error. But this seems to have changed in FreeBSD-7.x. Is it now permissible to call "malloc" from within a signal handler in FreeBSD-7.x? If so, should the man p