Subject: Re: delivering faulted-upon address in trap frame to userland
To: Christos Zoulas <christos@zoulas.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: port-i386
Date: 10/18/2006 15:08:12
On Oct 17, 2006, at 3:22 PM, Christos Zoulas wrote:

> I don't see the benefit of changing the signal from SIGBUS to SIGILL
> just because we don't have the faulting address available. I really
> think that we should not send SIGILL back because you usually get
> SIGILL when you start executing garbage, not when you are inside
> your regular code.

I don't think that's necessarily true.  SIGILL could certainly be  
interpreted also as the signal equivalent of EINVAL (invalid arguments  
given to an instruction -- perhaps a value out of range).

-- thorpej