Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Stack smash protected daemons
Date: Thu, 23 Sep 2004 14:56:48
Message-Id: 20040923165556.3fac418c@andy.genone.homeip.net
In Reply to: Re: [gentoo-dev] Stack smash protected daemons by John Richard Moser
1 On 09/22/04 John Richard Moser wrote:
2
3 > | What exactly would that FEATURE do ? If it really only affects
4 > | CFLAGS I don't see the need for another FEATURE flag at all. We
5 > | already have ~30 different flags, please lets try to avoid another
6 > | USE desaster by not adding new flags for trivial stuff.
7 > |
8 >
9 > Users could add -fstack-protector for global stack smash protection;
10 > what's proposed here is to alter certain packages to use
11 > - -fstack-protector based on their risk factor (the proposed measure
12 > of risk factor is if they're daemons, or if they're SETUID (chmod
13 > +s)).
14
15 ...
16
17 > Does this clearly enough illustrate the difference? Rather than
18 > protecting everything including, say, ufed vim and gedit, only the
19 > obvious players are given extra padding (it's more like lightweight
20 > bioarmor; padding is clunky and reduces dexterity too much).
21
22 No, it doesn't. FEATURES is definitely *not* for package specific stuff
23 (as I said earlier), so if at all this would be a USE thing.
24
25 Marius

Replies

Subject Author
Re: [gentoo-dev] Stack smash protected daemons Paul de Vrieze <pauldv@g.o>