lkml.org 
[lkml]   [2016]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] fix fault_in_multipages_...() on architectures with no-op access_ok()
[ Sorry, AFK there for a while ]

On Tue, Sep 20, 2016 at 2:03 PM, Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> What proper mappings? If you manage to mmap something at (void*)-PAGE_SIZE,
> you are very deep in trouble regardless. We use IS_ERR() on userland
> pointers and any architecture where that would be possible would be confused
> as hell.

Ack, you've convinced me. Will apply the patch.

Linus

\
 
 \ /
  Last update: 2016-09-21 01:44    [W:0.064 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site