ae92ace05f
With the update to llvm 13 we are able to tell the compiler it can find the SSP canary relative to the register that holds the userspace stack pointer. As this is unused in most of the kernel it can be used here to point to a per-thread SSP canary. As the kernel could be built with an old toolchain, e.g. when upgrading from 13, add a warning that the options was enabled but the compiler doesn't support it to both the build and kernel boot. Discussed with: emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33079
38 lines
873 B
Plaintext
38 lines
873 B
Plaintext
# $FreeBSD$
|
|
|
|
ARM64 opt_global.h
|
|
INTRNG opt_global.h
|
|
SOCDEV_PA opt_global.h
|
|
THUNDERX_PASS_1_1_ERRATA opt_global.h
|
|
VFP opt_global.h
|
|
LINUX_BOOT_ABI opt_global.h
|
|
LSE_ATOMICS opt_global.h
|
|
|
|
# Per-thread stack smashing protection support
|
|
# Needs clang >= 13
|
|
PERTHREAD_SSP opt_global.h
|
|
|
|
# Binary compatibility
|
|
COMPAT_FREEBSD32 opt_global.h
|
|
|
|
# EFI Runtime services support
|
|
EFIRT opt_efirt.h
|
|
|
|
# SoC Support
|
|
SOC_ALLWINNER_A64 opt_soc.h
|
|
SOC_ALLWINNER_H5 opt_soc.h
|
|
SOC_ALLWINNER_H6 opt_soc.h
|
|
SOC_BRCM_BCM2837 opt_soc.h
|
|
SOC_BRCM_BCM2838 opt_soc.h
|
|
SOC_BRCM_NS2 opt_soc.h
|
|
SOC_CAVM_THUNDERX opt_soc.h
|
|
SOC_FREESCALE_IMX8 opt_soc.h
|
|
SOC_HISI_HI6220 opt_soc.h
|
|
SOC_INTEL_STRATIX10 opt_soc.h
|
|
SOC_MARVELL_8K opt_soc.h
|
|
SOC_NVIDIA_TEGRA210 opt_soc.h
|
|
SOC_NXP_LS opt_soc.h
|
|
SOC_ROCKCHIP_RK3328 opt_soc.h
|
|
SOC_ROCKCHIP_RK3399 opt_soc.h
|
|
SOC_XILINX_ZYNQ opt_soc.h
|