linux/arch/arm64/lib
Yang Shi bffe1baff5 arm64: kasan: instrument user memory access API
The upstream commit 1771c6e1a5
("x86/kasan: instrument user memory access API") added KASAN instrument to
x86 user memory access API, so added such instrument to ARM64 too.

Define __copy_to/from_user in C in order to add kasan_check_read/write call,
rename assembly implementation to __arch_copy_to/from_user.

Tested by test_kasan module.

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Yang Shi <yang.shi@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2016-06-21 15:37:18 +01:00
..
Makefile
atomic_ll_sc.c
bitops.S
clear_page.S
clear_user.S
copy_from_user.S arm64: kasan: instrument user memory access API 2016-06-21 15:37:18 +01:00
copy_in_user.S
copy_page.S
copy_template.S
copy_to_user.S arm64: kasan: instrument user memory access API 2016-06-21 15:37:18 +01:00
delay.c
memchr.S
memcmp.S
memcpy.S
memmove.S
memset.S
strchr.S
strcmp.S
strlen.S
strncmp.S
strnlen.S
strrchr.S