Re: [PATCH v2 4/4] xen: riscv: enable stack protector feature

2024-12-03 Thread Volodymyr Babchuk
Hello Oleksii, oleksii.kuroc...@gmail.com writes: > On Mon, 2024-12-02 at 09:12 +0100, Jan Beulich wrote: >> On 30.11.2024 02:10, Volodymyr Babchuk wrote: >> > Enable previously added CONFIG_STACK_PROTECTOR feature for RISC-V >> > platform. Here we can call boot_stack_chk_guard_setup() in >> >

Re: [PATCH v2 4/4] xen: riscv: enable stack protector feature

2024-12-02 Thread oleksii . kurochko
On Mon, 2024-12-02 at 09:12 +0100, Jan Beulich wrote: > On 30.11.2024 02:10, Volodymyr Babchuk wrote: > > Enable previously added CONFIG_STACK_PROTECTOR feature for RISC-V > > platform. Here we can call boot_stack_chk_guard_setup() in > > start_xen() > > function, because it never returns, so stack

Re: [PATCH v2 4/4] xen: riscv: enable stack protector feature

2024-12-02 Thread oleksii . kurochko
On Mon, 2024-12-02 at 09:12 +0100, Jan Beulich wrote: > On 30.11.2024 02:10, Volodymyr Babchuk wrote: > > Enable previously added CONFIG_STACK_PROTECTOR feature for RISC-V > > platform. Here we can call boot_stack_chk_guard_setup() in > > start_xen() > > function, because it never returns, so stack

Re: [PATCH v2 4/4] xen: riscv: enable stack protector feature

2024-12-02 Thread Jan Beulich
On 30.11.2024 02:10, Volodymyr Babchuk wrote: > Enable previously added CONFIG_STACK_PROTECTOR feature for RISC-V > platform. Here we can call boot_stack_chk_guard_setup() in start_xen() > function, because it never returns, so stack protector code will not > be triggered because of changed canary.

[PATCH v2 4/4] xen: riscv: enable stack protector feature

2024-11-29 Thread Volodymyr Babchuk
Enable previously added CONFIG_STACK_PROTECTOR feature for RISC-V platform. Here we can call boot_stack_chk_guard_setup() in start_xen() function, because it never returns, so stack protector code will not be triggered because of changed canary. Signed-off-by: Volodymyr Babchuk Tested-by: Oleksii