Re: Patch to enable SSP on RELENG_7/CURRENT by default

From: Nikolay Pavlov <qpadla_at_gmail.com>
Date: Wed, 12 Dec 2007 05:04:19 +0200
On Wednesday 12 December 2007 00:13:18 Jeremie Le Hen wrote:
> Hi list,
>
> I already posted a couple of month ago for a patch to bring in
> ProPolice/SSP into 6-STABLE and 7-CURRENT [1].  Understandably, it has
> never been commited because this required to heavily patch GCC 3.4.6,
> which is a contributed software.
>
> Now that RELENG_7 and CURRENT have GCC 4.2.1, which provides SSP,
> FreeBSD just lacks the "glue" bits to make the best of it.  Once
> applied, FreeBSD will be compiled with SSP unless WITHOUT_SSP is set.
>
> This patch is a kind of proof of concept.  For example, the FreeBSD
> team might not want to enable SSP by default (any benchmark from other
> users than me would be welcome).  The Makefile guy(s?) may also have
> comments on how I've implemented it in the build infrastructure
> (SSP_CFLAGS notably).  Also, the kernel bits I scrawled in
> sys/kern/stack_protector.c should surely be improved.
>
> Best regards,
>
> [1] http://tataz.chchile.org/~tataz/FreeBSD/SSP/

Hi Jeremie.
There is already WITHOUT_SSP option documented in src.conf in a BETA4
is this some kind of a stub?

-- 
======================================================================  
- Best regards, Nikolay Pavlov. <<<-----------------------------------    
======================================================================  


Received on Wed Dec 12 2007 - 02:04:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC