Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 15:45:15 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Jeremie Le Hen <jeremie@le-hen.org>, freebsd-security@freebsd.org, freebsd-current@freebsd.org, Robert Watson <rwatson@freebsd.org>
Subject:   Re: Integrating ProPolice/SSP into FreeBSD
Message-ID:  <Pine.GSO.4.64.0605261541320.10830@sea.ntplx.net>
In-Reply-To: <20060526184919.GA69830@xor.obsecurity.org>
References:  <20060526153422.GB25953@obiwan.tataz.chchile.org> <20060526193048.Y77521@fledge.watson.org> <20060526184919.GA69830@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 May 2006, Kris Kennaway wrote:

> On Fri, May 26, 2006 at 07:41:31PM +0100, Robert Watson wrote:
>>
>> On Fri, 26 May 2006, Jeremie Le Hen wrote:
>>
>>> first sorry for cross-posting but I thought this patch might interest
>>> -CURRENT users as well as people concerned by security.
>>>
>>> I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step
>>> further than it has been realized so far.
>>
>> This looks very neat.
>>
>> Could you remind me what, if any, ABI issues might exist?  I'm familiar
>> with the ideas behind ProPolice, but not the implementation.  Can I use
>> SSP-compied libraries with pre-SSP applications?  Can I use post-SSP
>> applications with pre-SSP binaries?
>
> Last time I tried it (several years ago, when I maintained my own
> local patch for world integration), backwards binary compatibility was
> an issue, i.e. it was possible to hose your system when trying to
> revert the changes (since all rebuilt binaries all depend on symbols
> no longer provided in libc).

As I understand it, the symbols would be added to libc (and stay
there).  And with symbol versioning, they would always have to stay
there regardless of whether you build your binaries with or without
SSP.

A comment to the patch itself...  You need to put the added
symbol(s) in one of libc's Symbol.map files or else they
won't be visible when symbol versioning is enabled.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0605261541320.10830>