Date: Fri, 19 Sep 2008 08:52:13 -0500 From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: FreeBSD Stable <freebsd-stable@freebsd.org>, freebsd-hackers@freebsd.org Subject: Calling malloc from a signal handler Message-ID: <48D3AE8D.50304@math.missouri.edu>
next in thread | raw e-mail | index | archive | help
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 page of "sigaction(2)" be upgraded to say this? Thanks, Stephen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D3AE8D.50304>