From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 13:57:06 2008 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 224321065672 for ; Sat, 19 Apr 2008 13:57:06 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id CD75E8FC24 for ; Sat, 19 Apr 2008 13:57:05 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 1A315397A56; Sat, 19 Apr 2008 13:27:49 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 9040438514; Sat, 19 Apr 2008 09:51:35 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 727FA9BF12; Sat, 19 Apr 2008 07:49:21 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 6710B405B; Sat, 19 Apr 2008 09:49:21 +0200 (CEST) Date: Sat, 19 Apr 2008 09:49:21 +0200 From: Jeremie Le Hen To: Peter Jeremy Message-ID: <20080419074921.GI4840@obiwan.tataz.chchile.org> References: <20080418132749.GB4840@obiwan.tataz.chchile.org> <200804181945.59189.max@love2party.net> <20080418204738.GE4840@obiwan.tataz.chchile.org> <20080419071400.GP73016@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080419071400.GP73016@server.vk2pj.dyndns.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Jeremie Le Hen , freebsd-arch@freebsd.org Subject: Re: Integration of ProPolice in FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2008 13:57:06 -0000 On Sat, Apr 19, 2008 at 05:14:00PM +1000, Peter Jeremy wrote: > On Fri, Apr 18, 2008 at 10:47:38PM +0200, Jeremie Le Hen wrote: > >Actually, they are already in libc :-). > >See src/sys/lib/libc/sys/stack_protector.c . > > /usr/src/lib/libc/sys/stack_protector.c > > Similar code needs to be added to libkern before SSP can be enabled > within the kernel. Yes sorry, I've made another typo. As I told to max in my previous e-mail, the kernel bits are in src/sys/kern/stack_protector.c . If you want to look at the patch, this is the last file. http://tataz.chchile.org/~tataz/FreeBSD/SSP/fbsd8-ssp.diff Thank you. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >