]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: fix get_user_pages_fast
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 25 Oct 2017 10:04:14 +0000 (11:04 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Nov 2017 14:45:36 +0000 (14:45 +0000)
commit1ee5e87f86deca84fdcb7c71bb8368cacc4c24e3
tree3cc57239ce382599dec14cc6cd440cefdbadc4fe
parentb9dd05c7002ee0ca8b676428b2268c26399b5e31
ARM: fix get_user_pages_fast

Ensure that get_user_pages_fast() is not able to access memory which
has been mapped with PROT_NONE.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/pgtable.h