Home
last modified time | relevance | path

Searched hist:"71 ee6d2a2b8ab6792af6e9326511bda77c1aa850" (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/arch/riscv/kernel/
H A Dboot.c71ee6d2a2b8ab6792af6e9326511bda77c1aa850 Sun Mar 30 12:56:49 UTC 2025 Yu-Chien Peter Lin <peter.lin@sifive.com> core: riscv: support random stack canaries for stack protector

Call plat_get_random_stack_canaries() and update the value of
__stack_chk_guard during early initialization, so that the
random stack canaries can be used to detect stack overflow
and buffer overflow.

Signed-off-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
Co-developed-by: Alvin Chang <alvinga@andestech.com>
Signed-off-by: Alvin Chang <alvinga@andestech.com>
H A Dentry.S71ee6d2a2b8ab6792af6e9326511bda77c1aa850 Sun Mar 30 12:56:49 UTC 2025 Yu-Chien Peter Lin <peter.lin@sifive.com> core: riscv: support random stack canaries for stack protector

Call plat_get_random_stack_canaries() and update the value of
__stack_chk_guard during early initialization, so that the
random stack canaries can be used to detect stack overflow
and buffer overflow.

Signed-off-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
Co-developed-by: Alvin Chang <alvinga@andestech.com>
Signed-off-by: Alvin Chang <alvinga@andestech.com>