arm64: compat: Poison the compat sigpage
authorWill Deacon <will@kernel.org>
Thu, 18 Mar 2021 17:07:38 +0000 (17:07 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Mar 2021 16:48:41 +0000 (16:48 +0000)
commit6e554abd07002405fd9175284a10729e2f54be43
tree4392154bd6953ef5bf06e2fcc93b55acb5d09b0d
parent77ec462536a13d4b428a1eead725c4818a49f0b1
arm64: compat: Poison the compat sigpage

Commit 9c698bff66ab ("ARM: ensure the signal page contains defined contents")
poisoned the unused portions of the signal page for 32-bit Arm.

Implement the same poisoning for the compat signal page on arm64 rather
than using __GFP_ZERO.

Signed-off-by: Will Deacon <will@kernel.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20210318170738.7756-6-will@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/vdso.c