]>
Commit | Line | Data |
---|---|---|
083c40eb AM |
1 | Index: dietlibc-0.30/dietfeatures.h |
2 | =================================================================== | |
3 | --- dietlibc-0.30.orig/dietfeatures.h | |
4 | +++ dietlibc-0.30/dietfeatures.h | |
5 | @@ -99,7 +99,7 @@ | |
6 | /* WARNING: this appears to break with some binutils versions. Works | |
7 | * for me with binutils 2.15. The symptom is an error message that | |
8 | * `main' can not be found. */ | |
9 | -/* #define WANT_STACKGAP */ | |
10 | +#define WANT_STACKGAP | |
11 | ||
12 | /* Include support for ProPolice/SSP, calls guard_setup */ | |
13 | /* ProPolice is part of gcc 4.1 and up, there were patches for earlier | |
14 | @@ -108,12 +108,12 @@ | |
15 | * WANT_SSP_URANDOM and then not using -fstack-protector enlarges a | |
16 | * binary by 152 bytes. */ | |
17 | #if (__GNUC__>4) || ((__GNUC__==4) && (__GNUC_MINOR__>=1)) | |
18 | -#define WANT_SSP | |
19 | +//#define WANT_SSP | |
20 | #endif | |
21 | /* Choose which canary seeder you want you can choose | |
22 | * both but it will check urandom first and use xor as | |
23 | * a fallback. xor is lighter but weaker */ | |
24 | -#define WANT_SSP_URANDOM | |
25 | +//#define WANT_SSP_URANDOM | |
26 | /* The XOR seeder is completely predictable and should not be used | |
27 | * unless you don't have a /dev/urandom, and even then it's a bad idea. */ | |
28 | /* #define WANT_SSP_XOR */ |