android_kernel_samsung_a7y1.../arch/arm/lib
Julien Thierry 942c026c73 ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization
Commit afaf6838f4bc896a711180b702b388b8cfa638fc upstream.

Introduce C and asm helpers to sanitize user address, taking the
address range they target into account.

Use asm helper for existing sanitization in __copy_from_user().

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David A. Long <dave.long@linaro.org>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 09:57:34 +02:00
..
ashldi3.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ashrdi3.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
backtrace.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bitops.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bswapsdi2.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
call_with_stack.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
changebit.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clear_user.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clearbit.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
copy_from_user.S ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization 2020-04-07 09:57:34 +02:00
copy_page.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
copy_template.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
copy_to_user.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
csumipv6.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
csumpartial.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
csumpartialcopy.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
csumpartialcopygeneric.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
csumpartialcopyuser.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
delay-loop.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
delay.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
div64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ecard.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
findbit.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
floppydma.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
getuser.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-acorn.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-readsb.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-readsl.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-readsw-armv3.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-readsw-armv4.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-writesb.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-writesl.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-writesw-armv3.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-writesw-armv4.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib1funcs.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lshrdi3.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile ARM: 8833/1: Ensure that NEON code always compiles with Clang 2020-04-06 14:51:24 +02:00
memchr.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memcpy.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memmove.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memset.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memzero.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
muldi3.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
putuser.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setbit.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
strchr.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
strrchr.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
testchangebit.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
testclearbit.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
testsetbit.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uaccess_with_memcpy.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ucmpdi2.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xor-neon.c ARM: 8833/1: Ensure that NEON code always compiles with Clang 2020-04-06 14:51:24 +02:00