Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1607600

Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall

From Thomas Garnier <thgarnie@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall
Date 2017-03-23 16:20 +0100
Message-ID <tocGT-3Wl-33@gated-at.bofh.it> (permalink)
References <tnVcZ-8hP-5@gated-at.bofh.it> <tnVmG-8m4-15@gated-at.bofh.it> <tnVwl-8pR-1@gated-at.bofh.it> <tnVPI-nl-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@zytor.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/4] syscalls: Restore address limit after a syscall Thomas Garnier <thgarnie@google.com> - 2017-03-22 21:40 +0100
  [PATCH v4 4/4] arm64/syscalls: Specific usage of verify_pre_usermode_state Thomas Garnier <thgarnie@google.com> - 2017-03-22 21:40 +0100
  Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall Andy Lutomirski <luto@amacapital.net> - 2017-03-22 21:50 +0100
    Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall Thomas Garnier <thgarnie@google.com> - 2017-03-22 22:00 +0100
      Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall "H. Peter Anvin" <hpa@zytor.com> - 2017-03-22 22:20 +0100
        Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall Thomas Garnier <thgarnie@google.com> - 2017-03-23 16:20 +0100
          Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall Borislav Petkov <bp@alien8.de> - 2017-03-23 16:40 +0100
            Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall Thomas Garnier <thgarnie@google.com> - 2017-03-23 16:50 +0100
    Re: [PATCH v4 1/4] syscalls: Restore address limit after a syscall "H. Peter Anvin" <hpa@zytor.com> - 2017-03-22 22:20 +0100

csiph-web