Commit 5fb1ce1c authored by Russell King's avatar Russell King Committed by Mark Salyzyn
Browse files

UPSTREAM: ARM: poison the vectors page



(cherry pick from commit f928d4f2)

Fill the empty regions of the vectors page with an exception generating
instruction.  This ensures that any inappropriate branch to the vector
page is appropriately trapped, rather than just encountering some code
to execute.  (The vectors page was filled with zero before, which
corresponds with the "andeq r0, r0, r0" instruction - a no-op.)

Cc: <stable@vger.kernel.org>
Acked-by Nicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Bug: 9674955
Bug: 25773781
Change-Id: I1a68ca56922f0b3af9b299fe53b3ffd255309f02
parent 64fcb8d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment