set -fno-stack-protector in NORMAL_C_NOP, which is used to compile
authorderaadt <deraadt@openbsd.org>
Sun, 28 Jan 2024 00:40:22 +0000 (00:40 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 28 Jan 2024 00:40:22 +0000 (00:40 +0000)
commitcf019d6cacb198a51e02482aebbc665b89b18783
treec074ac6254e52be2e67c7b6e41a319fb7c94627c
parentbfc2f265275d1080011b82af869cde2a29b4bdd8
set -fno-stack-protector in NORMAL_C_NOP, which is used to compile
mcount.c, in the same way that -fno-ret-protector is set (because
the default ret-protector is an "always" generator).  This change
ensures there is never a stack protector prologue/epilogue in the
functions in that file, no matter what stack protector selection
algorithm is in play.
ok kettenis guenther
sys/arch/alpha/conf/Makefile.alpha
sys/arch/armv7/conf/Makefile.armv7
sys/arch/i386/conf/Makefile.i386
sys/arch/landisk/conf/Makefile.landisk
sys/arch/luna88k/conf/Makefile.luna88k
sys/arch/macppc/conf/Makefile.macppc
sys/arch/sparc64/conf/Makefile.sparc64