ARM: make vectors page inaccessible from userspace
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Jul 2013 20:58:56 +0000 (21:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Aug 2013 13:31:58 +0000 (14:31 +0100)
commita5463cd3435475386cbbe7b06e01292ac169d36f
tree71a32103b6df2be4fac877c60cdda2d9fe46e3a5
parent48be69a026b2c17350a5ef18a1959a919f60be7d
ARM: make vectors page inaccessible from userspace

If kuser helpers are not provided by the kernel, disable user access to
the vectors page.  With the kuser helpers gone, there is no reason for
this page to be visible to userspace.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/page.h
arch/arm/kernel/process.c
arch/arm/mm/mmu.c