diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-30 03:00:24 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-30 03:00:24 -0400 |
commit | 63374ee233c44891db80e6600d7a5a8c82e4ccca (patch) | |
tree | a392979357e120c5d6628c44edaa1a0d189f2e53 | |
parent | 28c5d46d844684feba2ddfc9027ea308d8d3612c (diff) | |
download | musl-63374ee233c44891db80e6600d7a5a8c82e4ccca.tar.gz musl-63374ee233c44891db80e6600d7a5a8c82e4ccca.tar.xz musl-63374ee233c44891db80e6600d7a5a8c82e4ccca.zip |
make stack protector work with gcc configured for non-tls canary
-rw-r--r-- | src/env/__stack_chk_guard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/env/__stack_chk_guard.c b/src/env/__stack_chk_guard.c new file mode 100644 index 00000000..f4c9e4f5 --- /dev/null +++ b/src/env/__stack_chk_guard.c @@ -0,0 +1,2 @@ +#include <inttypes.h> +uintptr_t __stack_chk_guard = 0xdecafbad; |