Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall
From: Thomas Garnier
Date: Thu Mar 23 2017 - 11:14:52 EST
Okay well then people are fine with a BUG_ON approach. I will do a
next iteration tailored to that. I will also try to add the static
inline suggestion from Peter.
On Wed, Mar 22, 2017 at 1:54 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 03/22/17 13:49, Thomas Garnier wrote:
>>
>> We can default to BUGging. I think my approach was avoiding doing a
>> BUG_ON just to avoid breaking people.
>>
>
> Breaking on a potentially-exploitable bug is a feature.
>
> -hpa
>
>
--
Thomas