Re: [PATCH] drm/i915: Convert WARNs during userptr revoke to SIGBUS

Chris Wilson
2015-10-09T08:40:58Z

On Fri, Oct 09, 2015 at 09:48:01AM +0200, Daniel Vetter wrote:
> On Thu, Oct 08, 2015 at 10:45:47AM +0100, Tvrtko Ursulin wrote:
> The concern is that this isn't how SIG_SEGV works, it's a signal the
> thread who made the invalid access gets directly. You never get a SIG_SEGV
> for bad access someone else has made. So essentially it's new ABI.

SIGBUS. For which the answer is yes, you can and do get SIGBUS for
actions taken by other processes.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre