ARM: ensure the signal page contains defined contents
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Jan 2021 10:19:07 +0000 (10:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2021 10:02:24 +0000 (11:02 +0100)
commit7913ec05fc02ccd7df83280451504b0a3e543097
tree67a5f992c2813b900ab461e79b3bd75b7d5d7a50
parent3dc2ba46500124ac350f9cd1a378e799f8f7fc88
ARM: ensure the signal page contains defined contents

[ Upstream commit 9c698bff66ab4914bb3d71da7dc6112519bde23e ]

Ensure that the signal page contains our poison instruction to increase
the protection against ROP attacks and also contains well defined
contents.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/kernel/signal.c