Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/conf Turn on Stack Smash Protection (SSP) for ...



details:   https://anonhg.NetBSD.org/src/rev/4febd0796bd4
branches:  trunk
changeset: 748977:4febd0796bd4
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Nov 12 14:58:09 2009 +0000

description:
Turn on Stack Smash Protection (SSP) for the "ALL" kernel to get at least
compile time coverage during a full release build.

Suggested by Mindaugas Rasiukevicius.

diffstat:

 sys/arch/i386/conf/ALL |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 39cc1e6a8263 -r 4febd0796bd4 sys/arch/i386/conf/ALL
--- a/sys/arch/i386/conf/ALL    Thu Nov 12 14:46:37 2009 +0000
+++ b/sys/arch/i386/conf/ALL    Thu Nov 12 14:58:09 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.218 2009/10/02 18:50:49 jmcneill Exp $
+# $NetBSD: ALL,v 1.219 2009/11/12 14:58:09 tron Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,10 +17,12 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "ALL-$Revision: 1.218 $"
+#ident                 "ALL-$Revision: 1.219 $"
 
 maxusers       32              # estimated number of users
 
+makeoptions    USE_SSP=yes
+
 # CPU-related options.
 options        VM86            # virtual 8086 emulation
 options        USER_LDT        # user-settable LDT; used by WINE



Home | Main Index | Thread Index | Old Index