Re: Dumb question: Why are exceptions such as SIGSEGV not logged

From: H. Peter Anvin
Date: Mon Aug 18 2003 - 21:48:14 EST


Followup to: <MDEHLPKNGKAHNMBLJOLKEEBAFDAA.davids@xxxxxxxxxxxxx>
By author: "David Schwartz" <davids@xxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> There is no mechanism that is guaranteed to terminate a process other than
> sending yourself an exception that is not caught. So in cases where you must
> guarantee that your process terminates, it is perfectly reasonable to send
> yourself a SIGILL.
>

exit(2)?

-hpa
--
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
If you send me mail in HTML format I will assume it's spam.
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/