]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: enable stack-smashing protection
authorMitchell Horne <mhorne@FreeBSD.org>
Wed, 4 Aug 2021 18:18:18 +0000 (15:18 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Wed, 4 Aug 2021 18:23:22 +0000 (15:23 -0300)
commit1b8db4b4e3614ef6334ce776dcdd46fe7f2c5a78
treef2456fe748f39707cedafb2870e02d6390baa809
parentbcd2f41f7d222a942fe0a268614b46d3ec3af4c0
arm: enable stack-smashing protection

With current generation clang/llvm it can pass all of our tests in
libc/ssp.

While here, remove the extra MACHINE_CPUARCH check for mips. SSP is
included in BROKEN_OPTIONS for this architecture in src.opts.mk, which
is enough to ensure normal builds won't set SSP_CFLAGS.

Reviewed by: kevans, imp, emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D31400
share/mk/bsd.sys.mk
sys/conf/kern.mk