Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-03 Thread Eugene Syromiatnikov
On Wed, Oct 03, 2018 at 06:52:40PM +0200, Jann Horn wrote: > On Wed, Oct 3, 2018 at 6:32 PM Eugene Syromiatnikov wrote: > > I'm not sure, however, whether such a change that provides no ability > > to configure or affect it will go well with all the supported > > architectures. > > Is there a con

Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-03 Thread Jann Horn
On Wed, Oct 3, 2018 at 6:32 PM Eugene Syromiatnikov wrote: > On Wed, Oct 03, 2018 at 09:00:04AM -0700, Yu-cheng Yu wrote: > > On Tue, 2018-10-02 at 22:36 -0700, Andy Lutomirski wrote: > > > On Tue, Oct 2, 2018 at 9:55 PM Eugene Syromiatnikov > > > wrote: > > > > > > > > On Fri, Sep 21, 2018 at 0

Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-03 Thread Yu-cheng Yu
On Wed, 2018-10-03 at 18:32 +0200, Eugene Syromiatnikov wrote: > On Wed, Oct 03, 2018 at 09:00:04AM -0700, Yu-cheng Yu wrote: > > On Tue, 2018-10-02 at 22:36 -0700, Andy Lutomirski wrote: > > > On Tue, Oct 2, 2018 at 9:55 PM Eugene Syromiatnikov > > > wrote: > > > > > > > > On Fri, Sep 21, 2018 a

Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-03 Thread Eugene Syromiatnikov
On Wed, Oct 03, 2018 at 09:00:04AM -0700, Yu-cheng Yu wrote: > On Tue, 2018-10-02 at 22:36 -0700, Andy Lutomirski wrote: > > On Tue, Oct 2, 2018 at 9:55 PM Eugene Syromiatnikov wrote: > > > > > > On Fri, Sep 21, 2018 at 08:03:48AM -0700, Yu-cheng Yu wrote: > > > > Create a guard area between VMAs

Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-03 Thread Andy Lutomirski
On Wed, Oct 3, 2018 at 9:06 AM Yu-cheng Yu wrote: > > On Tue, 2018-10-02 at 22:36 -0700, Andy Lutomirski wrote: > > On Tue, Oct 2, 2018 at 9:55 PM Eugene Syromiatnikov wrote: > > > > > > On Fri, Sep 21, 2018 at 08:03:48AM -0700, Yu-cheng Yu wrote: > > > > Create a guard area between VMAs, to dete

Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-03 Thread Yu-cheng Yu
On Tue, 2018-10-02 at 22:36 -0700, Andy Lutomirski wrote: > On Tue, Oct 2, 2018 at 9:55 PM Eugene Syromiatnikov wrote: > > > > On Fri, Sep 21, 2018 at 08:03:48AM -0700, Yu-cheng Yu wrote: > > > Create a guard area between VMAs, to detect memory corruption. > > > > Do I understand correctly that

Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-02 Thread Andy Lutomirski
On Tue, Oct 2, 2018 at 9:55 PM Eugene Syromiatnikov wrote: > > On Fri, Sep 21, 2018 at 08:03:48AM -0700, Yu-cheng Yu wrote: > > Create a guard area between VMAs, to detect memory corruption. > > Do I understand correctly that with this patch a user space program > no longer be able to place two ma

Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs

2018-10-02 Thread Eugene Syromiatnikov
On Fri, Sep 21, 2018 at 08:03:48AM -0700, Yu-cheng Yu wrote: > Create a guard area between VMAs, to detect memory corruption. Do I understand correctly that with this patch a user space program no longer be able to place two mappings back to back? If it is so, it will likely break a lot of things;