]> git.baikalelectronics.ru Git - kernel.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)
commit798f542782ed421f97bfd539969993e237b1e090
tree3cc57239ce382599dec14cc6cd440cefdbadc4fe
parent07d2f990e69db030164b8199ec00f643c8973109
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