Unverified Commit 048e2906 authored by Yunhui Cui's avatar Yunhui Cui Committed by Palmer Dabbelt
Browse files

riscv: Randomize lower bits of stack address



Implement arch_align_stack() to randomize the lower bits
of the stack address.

Signed-off-by: default avatarYunhui Cui <cuiyunhui@bytedance.com>
Link: https://lore.kernel.org/r/20240625030502.68988-1-cuiyunhui@bytedance.com


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 11c2dbd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment