stackleak: allow to specify arch specific stackleak poison function
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 5 Apr 2023 13:08:40 +0000 (15:08 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 20 Apr 2023 09:36:35 +0000 (11:36 +0200)
commit491a78663e039fabc58c892ca8f2c2e08caaf4f8
tree2c4ae50cfbe10e680a68e7fc1b19985af60dffa0
parentccf7c3fb61ed7f3019b5be9fe70ccc0ab782cf2e
stackleak: allow to specify arch specific stackleak poison function

Factor out the code that fills the stack with the stackleak poison value
in order to allow architectures to provide a faster implementation.

Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20230405130841.1350565-2-hca@linux.ibm.com
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
kernel/stackleak.c