commit | 048e2906d4caf57018e92f49c9a0f998ebb83f9b | [log] [tgz] |
---|---|---|
author | Yunhui Cui <cuiyunhui@bytedance.com> | Tue Jun 25 11:05:02 2024 +0800 |
committer | Palmer Dabbelt <palmer@rivosinc.com> | Tue Sep 17 08:05:10 2024 -0700 |
tree | 3ed349570c54375b02fb9869e14c80159e0545ed | |
parent | 11c2dbd7f2415731ac8213d3de0dbd5f5dd0ddc7 [diff] |
riscv: Randomize lower bits of stack address Implement arch_align_stack() to randomize the lower bits of the stack address. Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> Link: https://lore.kernel.org/r/20240625030502.68988-1-cuiyunhui@bytedance.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>