aboutsummaryrefslogtreecommitdiff
path: root/arch/csky/lib/usercopy.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-08-05 15:27:29 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-08-18 13:39:52 +1000
commit48d2f0407be7a36e8f20be37ec9121e021ef3964 (patch)
tree1e5dff2c1dfaa8b12c6ce2502a4304ceeec0afc8 /arch/csky/lib/usercopy.c
parentfdc6edbb31fba76fd25d7bd016b675a92908d81e (diff)
powerpc/kasan: Fix KASAN_SHADOW_START on BOOK3S_32
On BOOK3S_32, when we have modules and strict kernel RWX, modules are not in vmalloc space but in a dedicated segment that is below PAGE_OFFSET. So KASAN_SHADOW_START must take it into account. MODULES_VADDR can't be used because it is not defined yet in kasan.h Fixes: 6ca055322da8 ("powerpc/32s: Use dedicated segment for modules with STRICT_KERNEL_RWX") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/6eddca2d5611fd57312a88eae31278c87a8fc99d.1596641224.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/csky/lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions