ARM: uaccess: provide uaccess_save_and_enable() and uaccess_restore()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Aug 2015 10:02:28 +0000 (11:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Aug 2015 15:14:43 +0000 (16:14 +0100)
commit3fba7e23f754a9a6e639b640fa2a393712ffe1b8
treec9a472b59b67700bdde134a4dc707ae607837faa
parent08446b129bbde34665c423d882f857a45b8c3aed
ARM: uaccess: provide uaccess_save_and_enable() and uaccess_restore()

Provide uaccess_save_and_enable() and uaccess_restore() to permit
control of userspace visibility to the kernel, and hook these into
the appropriate places in the kernel where we need to access
userspace.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/futex.h
arch/arm/include/asm/uaccess.h
arch/arm/kernel/armksyms.c
arch/arm/lib/clear_user.S
arch/arm/lib/copy_from_user.S
arch/arm/lib/copy_to_user.S
arch/arm/lib/uaccess_with_memcpy.c