summaryrefslogtreecommitdiff
path: root/sys/arch/vax/stand
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-12-02 09:00:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-12-02 09:00:27 +0000
commit22703df0df76accb65607f28070a9771b5bb42de (patch)
tree2f2aa0ebf948ee4580b10bb0a41b7f258b40d0e8 /sys/arch/vax/stand
parent560fab27442ac85618b1720e90581c295ae1ea83 (diff)
Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stack
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
Diffstat (limited to 'sys/arch/vax/stand')
-rw-r--r--sys/arch/vax/stand/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/vax/stand/Makefile.inc b/sys/arch/vax/stand/Makefile.inc
index bbe032e06d2..068de9c7b4d 100644
--- a/sys/arch/vax/stand/Makefile.inc
+++ b/sys/arch/vax/stand/Makefile.inc
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile.inc,v 1.3 2002/06/11 09:36:23 hugh Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2002/12/02 09:00:26 miod Exp $
# $NetBSD: Makefile.inc,v 1.6 2002/02/24 01:04:23 matt Exp $
RELOC=0x39F000
.PATH: ${.CURDIR}/../../vax ${.CURDIR}/../common
+CFLAGS+= -fno-stack-protector
CPPFLAGS+=-I. -I${.CURDIR}/../../../../ -I${.CURDIR}/../../ -I${.CURDIR}/../common -I${.CURDIR}/../../include
CPPFLAGS+=-DRELOC=${RELOC}