Messages in this thread | | | Date | Mon, 7 Jul 2003 21:33:45 +1000 (EST) | From | Paul Mackerras <> | Subject | Re: [PATCH 2.5.73] Signal stack fixes #1 introduce PF_SS_ACTIVE |
| |
=?iso-8859-1?Q?J=81=F6rn?= Engel writes:
> A core dump is graceful, a do_exit(SIGSEGV), > as it was in the ppc code is not, and an inifite loop is anything but > graceful.
It just occurred to me that the simplest and best fix for the specific problem you mention is for you to set the SA_ONESHOT flag when you install the SIGSEGV handler. That way, if you get another segmentation violation while you are already in the SIGSEGV handler, it will just dump core straight away.
Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |