Files
android_kernel_xiaomi_sm8450/arch/s390/include/asm
Vasily Gorbik f45f7b5bda s390/kasan: provide uninstrumented __strlen
s390 kasan code uses sclp_early_printk to report initialization
failures. The code doing that should not be instrumented, because kasan
shadow memory has not been set up yet. Even though sclp_early_core.c is
compiled with instrumentation disabled it uses strlen function, which
is instrumented and would produce shadow memory access if used. To
avoid that, introduce uninstrumented __strlen function to be used
instead.

Before commit 7e0d92f002 ("s390/kasan: improve string/memory functions
checks") few string functions (including strlen) were escaping kasan
instrumentation due to usage of platform specific versions which are
implemented in inline assembly.

Fixes: 7e0d92f002 ("s390/kasan: improve string/memory functions checks")
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2019-08-21 12:58:52 +02:00
..
2017-12-05 07:51:09 +01:00
2019-04-29 10:47:10 +02:00
2019-04-25 15:34:10 +02:00
2019-04-29 10:47:10 +02:00
2019-06-19 17:54:27 +02:00
2019-08-21 12:41:43 +02:00
2019-04-29 10:47:10 +02:00
2019-02-05 14:29:23 +01:00
2019-04-29 10:47:10 +02:00
2019-06-07 10:09:37 +02:00
2019-02-07 18:06:18 -08:00
2019-06-07 10:09:42 +02:00
2019-06-07 10:09:37 +02:00
2019-04-03 10:32:57 +02:00
2019-06-07 10:09:37 +02:00
2019-07-23 10:45:53 +02:00
2017-12-05 07:51:09 +01:00