diff options
author | Jisheng Zhang <[email protected]> | 2024-07-06 01:02:10 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-09-15 20:15:40 -0700 |
commit | 5c178472af247c7b50f962495bb7462ba453b9fb (patch) | |
tree | cd6616a4bd6d0912fdcbf799d50e6cd759d56230 /scripts/generate_rust_analyzer.py | |
parent | d6a1928134a1c626ff369129d7a80951b2949a48 (diff) |
riscv: define ILLEGAL_POINTER_VALUE for 64bit
This is used in poison.h for poison pointer offset. Based on current
SV39, SV48 and SV57 vm layout, 0xdead000000000000 is a proper value
that is not mappable, this can avoid potentially turning an oops to
an expolit.
Signed-off-by: Jisheng Zhang <[email protected]>
Fixes: fbe934d69eb7 ("RISC-V: Build Infrastructure")
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions