The performance hit for -fstack-protector-all is worth it here.
authorderaadt <deraadt@openbsd.org>
Tue, 6 Oct 2015 00:30:30 +0000 (00:30 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 6 Oct 2015 00:30:30 +0000 (00:30 +0000)
ok gilles

usr.sbin/smtpd/makemap/Makefile
usr.sbin/smtpd/smtpctl/Makefile
usr.sbin/smtpd/smtpd/Makefile
usr.sbin/smtpd/table-ldap/Makefile
usr.sbin/smtpd/table-passwd/Makefile
usr.sbin/smtpd/table-sqlite/Makefile

index bd89f4d..ca051f8 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.24 2014/04/01 23:14:25 fgsch Exp $
+#      $OpenBSD: Makefile,v 1.25 2015/10/06 00:30:30 deraadt Exp $
 
 .PATH:         ${.CURDIR}/..
 
@@ -10,6 +10,7 @@ BINMODE?=555
 BINDIR=        /usr/libexec/smtpd
 MAN=   aliases.5 forward.5 makemap.8 newaliases.8
 
+CFLAGS+=   -fstack-protector-all
 CFLAGS+=       -I${.CURDIR}/..
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=       -Wmissing-declarations
index 8f675be..d83abc1 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.37 2014/09/29 20:56:47 jmc Exp $
+#      $OpenBSD: Makefile,v 1.38 2015/10/06 00:30:32 deraadt Exp $
 
 .PATH:         ${.CURDIR}/..
 
@@ -11,6 +11,7 @@ BINDIR=       /usr/sbin
 MAN=   smtpctl.8
 MLINKS=        smtpctl.8 mailq.8
 
+CFLAGS+=   -fstack-protector-all
 CFLAGS+=       -I${.CURDIR}/..
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=       -Wmissing-declarations
index 5defaf6..b74b7f2 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.78 2015/01/22 09:26:05 reyk Exp $
+#      $OpenBSD: Makefile,v 1.79 2015/10/06 00:30:32 deraadt Exp $
 
 .PATH:         ${.CURDIR}/..
 
@@ -42,6 +42,8 @@ BINDIR=               /usr/sbin
 
 LDADD+=                -levent -lutil -lssl -lcrypto -lm -lz
 DPADD+=                ${LIBEVENT} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBM} ${LIBZ}
+
+CFLAGS+=   -fstack-protector-all
 CFLAGS+=       -I${.CURDIR}/..
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=       -Wmissing-declarations
index 1bfabbe..2b9d700 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.4 2014/07/08 13:49:09 eric Exp $
+#      $OpenBSD: Makefile,v 1.5 2015/10/06 00:30:32 deraadt Exp $
 
 .PATH: ${.CURDIR}/..
 
@@ -18,6 +18,7 @@ BINDIR=       /usr/libexec/smtpd
 DPADD= ${LIBUTIL}
 LDADD= -lutil
 
+CFLAGS+=   -fstack-protector-all
 CFLAGS+=       -I${.CURDIR}/..
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=       -Wmissing-declarations
index 3b65b5a..b542368 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.4 2014/04/01 23:14:25 fgsch Exp $
+#      $OpenBSD: Makefile,v 1.5 2015/10/06 00:30:32 deraadt Exp $
 
 .PATH: ${.CURDIR}/..
 
@@ -16,6 +16,7 @@ BINDIR=       /usr/libexec/smtpd
 DPADD= ${LIBUTIL}
 LDADD= -lutil
 
+CFLAGS+=   -fstack-protector-all
 CFLAGS+=       -I${.CURDIR}/..
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=       -Wmissing-declarations
index 41062e4..eb69c00 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.3 2014/04/01 23:14:25 fgsch Exp $
+#      $OpenBSD: Makefile,v 1.4 2015/10/06 00:30:32 deraadt Exp $
 
 .PATH: ${.CURDIR}/..
 
@@ -16,6 +16,7 @@ BINDIR=       /usr/libexec/smtpd
 DPADD= ${LIBUTIL} ${LIBSQLITE3}
 LDADD= -lutil -lsqlite3
 
+CFLAGS+=   -fstack-protector-all
 CFLAGS+=       -I${.CURDIR}/..
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=       -Wmissing-declarations