aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2020-07-10 16:19:57 +0000
committerPalmer Dabbelt <[email protected]>2020-07-30 18:37:39 +0000
commitf2c9699f65557a31fed4ddb9e5b4d9489b1bf32f (patch)
tree944424af9ffbfbb6ac6dafef33202045a2e8da4c /tools/testing/selftests/bpf/prog_tests/autoload.c
parentriscv: Fix typo in asm/hwcap.h uapi header (diff)
downloadkernel-f2c9699f65557a31fed4ddb9e5b4d9489b1bf32f.tar.gz
kernel-f2c9699f65557a31fed4ddb9e5b4d9489b1bf32f.zip
riscv: Add STACKPROTECTOR supported
The -fstack-protector & -fstack-protector-strong features are from gcc. The patch only add basic kernel support to stack-protector feature and some arch could have its own solution such as ARM64_PTR_AUTH. After enabling STACKPROTECTOR and STACKPROTECTOR_STRONG, the .text size is expanded from 0x7de066 to 0x81fb32 (only 5%) to add canary checking code. Signed-off-by: Guo Ren <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions