I wrote:
> I believe you should make it signal a SIGSEGV or SIGBUS, not SIGILL, for
> the following reasons:

A third reason is that the application will want to react depending on the
memory address which produced the fault. (I mean the memory address of the
data, not of the instruction.) This memory address is available as si_addr
in the siginfo struct only for SIGSEGV and SIGBUS, see


Reply via email to