Gentoo Archives: gentoo-hardened

From: Ned Ludd <solar@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] paxtest
Date: Wed, 24 Oct 2007 00:06:32
Message-Id: 1193184276.18382.22.camel@hangover.linbsd.net
In Reply to: Re: [gentoo-hardened] paxtest by Matt Poletiek
1 On Tue, 2007-10-23 at 16:55 -0600, Matt Poletiek wrote:
2 > So if im reading the docs correctly do I need -fstack-protector-all
3 > and -fstack-protector in my CFLAGS to take advantage of ssp?
4 >
5 > According to the docs it should be default in the hardened profile? I
6 > just need the hardened and pic USE flags right?
7
8 Correct. no need to muck with CFLAGS at all.
9 CFLAGS="-O2 -pipe" go...
10
11 >
12 > On 10/23/07, pageexec@××××××××.hu <pageexec@××××××××.hu> wrote:
13 > > On 23 Oct 2007 at 21:03, Javier Martínez wrote:
14 > >
15 > > > 2007/10/23, Matt Poletiek <chill550@×××××.com>:
16 > > > > Any idea why when I add -fstack-protector-all and -fstack-protector to
17 > > > > CFLAGS paxtest still compiles with -fno-stack-protector
18 > > > > -fno-stack-protector-all ?
19 > > > >
20 > > > I think ssp is disabled in the Makefile. Look at there. Please take
21 > > > note that (in my opinion) paxtest should only demonstrate how pax
22 > > > works, not how ssp does.
23 > >
24 > > correct, ssp is disabled on purpose.
25 > >
26 > > --
27 > > gentoo-hardened@g.o mailing list
28 > >
29 > >
30 >
31 >
32 > --
33 > Matthew Poletiek
34 > www.chill-fu.net
35 --
36 Ned Ludd <solar@g.o>
37 Gentoo Linux
38
39 --
40 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] paxtest Matt Poletiek <chill550@×××××.com>