Re: [PATCH V2] riscv: Support RANDOMIZE_KSTACK_OFFSET
From: patchwork-bot+linux-riscv
Date: Thu Jan 25 2024 - 16:31:58 EST
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:
On Thu, 9 Nov 2023 21:37:51 +0800 you wrote:
> Inspired from arm64's implement -- commit 70918779aec9
> ("arm64: entry: Enable random_kstack_offset support")
>
> Add support of kernel stack offset randomization while handling syscall,
> the offset is defaultly limited by KSTACK_OFFSET_MAX() (i.e. 10 bits).
>
> In order to avoid trigger stack canaries (due to __builtin_alloca) and
> slowing down the entry path, use __no_stack_protector attribute to
> disable stack protector for do_trap_ecall_u() at the function level.
>
> [...]
Here is the summary with links:
- [V2] riscv: Support RANDOMIZE_KSTACK_OFFSET
https://git.kernel.org/riscv/c/05d450aabd73
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html