Gentoo Archives: gentoo-dev

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: News item for hardened profile about gcc.
Date: Sun, 24 Oct 2010 08:05:10
Message-Id: AANLkTinbUR0N6RACxnRORYsMiVArx0D+==YSm0Gz_xKf@mail.gmail.com
In Reply to: [gentoo-dev] Re: News item for hardened profile about gcc. by Duncan <1i5t5.duncan@cox.net>
1 On Sun, Oct 24, 2010 at 3:34 AM, Duncan <1i5t5.duncan@×××.net> wrote:
2 >
3 > Magnus Granberg posted on Sun, 24 Oct 2010 03:01:40 +0200 as excerpted:
4 >
5 > > Display-If-Install: <sys-devel/gcc-4.4
6 >
7 > Typo:
8 >
9 > Display-If-Installed:
10 >                  ^^
11 >
12 > Meanwhile, the title reflects hardened profiles, but the updated
13 > conditions aren't viewed only on hardened.  The no-support-for-<gcc-4
14 > policy would seem reasonable for most profiles (don't know about the
15 > exotic archs).  Either the title should be updated to reflect that it
16 > applies in general (not just on hardened), or the condition to display
17 > only on hardened should be maintained.  Either way, making it clearer in
18 > the body as well would be wise, so people seeing it only on hardened (if
19 > it applies only to them, for example) will have less chance of missing
20 > that, if they have regular installs as well.
21 >
22 > But I don't remember whether multiple conditions are ANDed or ORed; they
23 > should be ANDed here, if it's to apply to ONLY hardened with <gcc-4.4
24 > installed.
25 >
26 > --
27 > Duncan - List replies preferred.   No HTML msgs.
28 > "Every nonfree program has a lord, a master --
29 > and if you use the program, he is your master."  Richard Stallman
30 >
31 >
32
33 Hi all,
34 After reading this post I went to wikipedia to read about the SSP.
35 http://en.wikipedia.org/wiki/Buffer_overflow_protection
36 At the paragraph "GCC Stack-Smashing Protector (ProPolice)", its written"
37
38 "It was implemented as a patch to GCC 3.x; a less intrusive
39 reimplementation is included in the GCC 4.1 release. Currently, SSP is
40 standard in OpenBSD, FreeBSD (since 8.0), Ubuntu (since 8.04 LTS[3]),
41 and DragonFly BSD. It is also available in NetBSD (enabled by default
42 on x86), Debian and Gentoo, disabled by default."
43
44 Now this should be changed, if the SSP flag is becoming default.
45
46 Regards,
47 Kfir

Replies

Subject Author
Re: [gentoo-dev] Re: News item for hardened profile about gcc. Magnus Granberg <zorry@g.o>