]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaca9a8faaf185ab739400f2177a6bbacdea1419a
tree4392154bd6953ef5bf06e2fcc93b55acb5d09b0d
parent6f530559f443108a95ee6949b786080ffff8427d
arm64: compat: Poison the compat sigpage

Commit be5af58fd350 ("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