Skip to content

Commit

Permalink
arm64 Kconfig: Move LIST_POISON to a safe value
Browse files Browse the repository at this point in the history
Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.

Change-Id: I1ddae985f2fc28ca1366747169d4ca91801a9d31
Signed-off-by: Thierry Strudel <[email protected]>
Signed-off-by: Jeff Vander Stoep <[email protected]>
  • Loading branch information
jeffvanderstoep authored and jrior001 committed Sep 6, 2016
1 parent c1d0eef commit 671e32b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ config MMU
config NO_IOPORT
def_bool y

config ILLEGAL_POINTER_VALUE
hex
default 0xdead000000000000

config STACKTRACE_SUPPORT
def_bool y

Expand Down

0 comments on commit 671e32b

Please sign in to comment.