• Russell King's avatar
    ARM: poison the vectors page · f928d4f2
    Russell King authored
    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>
    f928d4f2
traps.c 21.1 KB