Re: [PATCH] fix fault_in_multipages_...() on architectures with no-op access_ok()

From: Linus Torvalds
Date: Tue Sep 20 2016 - 19:43:26 EST

[ Sorry, AFK there for a while ]

On Tue, Sep 20, 2016 at 2:03 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> 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.