[PATCH v8] Add support for stack-protector

Heinrich Schuchardt
2021-01-15T18:53:40Z

On 14.01.21 21:35, Joel Peshkin wrote:
> Add support for stack protector for UBOOT, SPL, and TPL
> as well as new pytest for stackprotector
>
> Signed-off-by: Joel Peshkin <joel.peshkin@broadcom.com>
> ---
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

>
> Changes for v8:
> - Fix commit message
> - Force canary to UL type
> Changes for v7:
> - Fix commit message
> - add __builtin_extract_return_addr() calls
> Changes for v6:
> - Fix commit message
> Changes for v5:
> - Rebase
> Changes for v4:
> - Exclude EFI from stackprotector
> - Cleanups of extra includes and declaration
> Changes for v3:
> - Move test command to cmd/
> - Update Kconfig names and depends
> - clean up default canary initialization
> Changes for v2:
> - Add test command and corresponding config
> - Fixed incorrect description in Kconfig
> - Add unit test