On 28-Feb-01 Marc W wrote:
>
>
> I'm trying to ensure robust shutdown on my machine. Thus, I've
> installed signal handlers for a bunch of nasty looking signals. In my
> new handler, after all critical state is saved, I then call abort(3),
> and all seems to work well.
>
> EXCEPT -- some signals generate core files when left with the
> default behaviour. Is there some straightforward way to do this?
Hmm, perhaps make sure you have the default SIGSEGV handler installed after
your cleanup and do:
*(int *)NULL = 1;
or some such? Then again, the core dump you get may not be all that useful...
> thanks.
>
> marc.
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message