1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hello, |
5 |
|
6 |
On Wednesday 22 Sep 2004 17:04, Ciaran McCreesh wrote: |
7 |
> On Wed, 22 Sep 2004 11:54:55 -0400 John Richard Moser |
8 |
> |
9 |
> <nigelenki@×××××××.net> wrote: |
10 |
> | I believe it would be a good idea to have such a FEATURES or USE flag |
11 |
> | on by default in all profiles where SSP is supported. In this manner, |
12 |
> | the major targets of security attacks would automatically be |
13 |
> | protected; while still allowing the user to disable the protection if |
14 |
> | the user desires. Users wanting more protection can simply add |
15 |
> | -fstack-protector to CFLAGS, or use Hardened Gentoo. |
16 |
|
17 |
Though ssp (and others like it) can help to combat such attacks, they can |
18 |
obviously only go so far at the mo.. Getting the number of alloca's reduced |
19 |
in large code paths, thrashing it with rats/flawfinder/splint/valgrind (and |
20 |
maybe a crow bar ;-), would help some more, too. :-) |
21 |
|
22 |
> Personally, I don't see the point in an ugly hack which occasionally |
23 |
> sort of protects you from badly written code... The option's there for |
24 |
> anyone who really wants it, but we tend more towards a "turn most things |
25 |
> off unless the user asks for them" approach, hence the relatively low |
26 |
> number of things turned on in the default USE settings. |
27 |
> |
28 |
> | Any comments? Would this be more suitable as a USE or a FEATURES |
29 |
> | setting? |
30 |
> |
31 |
> FEATURES, not USE. |
32 |
|
33 |
Slightly ot, but would this be the case (using FEATURES instead of USE) for |
34 |
other security/hardened stuff like pic/non-pic? |
35 |
|
36 |
Elfyn |
37 |
|
38 |
- -- |
39 |
Elfyn McBratney |
40 |
beu on irc.freenode.net/savannah.[non]gnu.org |
41 |
|
42 |
PGP Key ID: 0x456548B4 |
43 |
PGP Key Fingerprint: |
44 |
29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 |
45 |
-----BEGIN PGP SIGNATURE----- |
46 |
Version: GnuPG v1.2.4 (GNU/Linux) |
47 |
|
48 |
iD8DBQFBUbD/aIgMKkVlSLQRAtEcAJ0ULljZMJmJbIkFOdnU7iRW8jqjPACeII/M |
49 |
UJ+1TK/y3AnXPceMfqgVwwk= |
50 |
=5Sh7 |
51 |
-----END PGP SIGNATURE----- |
52 |
|
53 |
-- |
54 |
gentoo-dev@g.o mailing list |