Gentoo Archives: gentoo-hardened

From: netpython <phaceton@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] SPP
Date: Wed, 03 Aug 2005 14:05:31
Message-Id: 3655f5d905080307024b6426dc@mail.gmail.com
In Reply to: Re: [gentoo-hardened] SPP by "Kevin F. Quinn"
1 Hi,
2
3 One minor update:
4
5 Although mozilla-firefox was compiled with fnostack-protector-all,
6 kdebase kdadmin and kdenetwork weren't.I suspect i was to
7 soon with my e-mail.Unfortunately that mozilla-firefox can't be
8 compiled with the fstack compiler flag,firefox is i think the one
9 who's most targeted on a workstation/desktop.
10
11
12 On 8/3/05, Kevin F. Quinn <kevquinn@g.o> wrote:
13 > On 3/8/2005 11:08:10, netpython (phaceton@×××××.com) wrote:
14 >
15 > > I have just installed gentoo-amd64 with hardened-sources and both
16 > > Grsecurity and Pax features enabled to a point that xorg still is
17 > > functional.In some gentoo doc's i read there's the CFLAG
18 > > -fstack-protector-all.
19 >
20 > There is, but you don't want to add it to CFLAGS in /etc/make.conf. You need to use the hardened gcc, which will avoid enabling the stack protector in situations where it should be off.
21 >
22 > > Since i now get -fnostack-protector-all when i
23 > > compile packages
24 >
25 > I don't understand why you're seeing '-fno-stack-protector-all' while compiling.
26 > Can you provide an example (i.e. name of package being emerged, some relevant lines from the compilation output), and include also the output of 'emerge info'?
27 >
28 > > i decided to maunally add the fstack-protector-all
29 > > flag to /etc/make.conf.But the fnostack-protector-all flag comes right
30 > > after.Which setting is now valid?
31 >
32 > The current supported way to use the stack protector is to build stuff with hardened gcc (USE="hardened" emerge gcc).
33 >
34 >
35 >
36 >
37 > --
38 > gentoo-hardened@g.o mailing list
39 >
40 >
41
42 --
43 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] SPP Ned Ludd <solar@g.o>