[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFx7xv0SSCGpewS1WoxcKUiWQVN1XzdgBq1BgjJxe_U+0g@mail.gmail.com>
Date: Tue, 20 Sep 2016 16:43:18 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Heiko Carstens <heiko.carstens@...ibm.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Jan Stancek <jstancek@...hat.com>,
Arnd Bergmann <arnd@...db.de>, Greg Ungerer <gerg@...inux.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [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@...iv.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
Powered by blists - more mailing lists