|
From: | Bruno Haible |
Subject: | Re: [RFC PATCH] test-c-stack2.sh: skip if the platform sent SIGILL on an invalid address. |
Date: | Sat, 29 Dec 2018 15:03:07 +0100 |
User-agent: | KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
Andrey Savchenko wrote: > This is not possible. Four generations of hardware are already > manufactured and they use SIGILL for such cases. It may be fixed in > future generations if CPU designers will agree to do so The mapping from hardware exception code to Unix signal number is done in software, not in hardware. For an example, look in linux-4.20/arch/sparc/mm/fault_32.c. Bruno
[Prev in Thread] | Current Thread | [Next in Thread] |