]>
Commit | Line | Data |
---|---|---|
85a38834 A |
1 | --- stack_protector.c.orig 2006-10-05 00:09:07.000000000 -0700 |
2 | +++ stack_protector.c 2006-10-05 00:18:28.000000000 -0700 | |
3 | @@ -34,10 +34,10 @@ | |
4 | #include <syslog.h> | |
5 | ||
6 | long __guard[8] = {0, 0, 0, 0, 0, 0, 0, 0}; | |
7 | -static void __guard_setup(void) __attribute__ ((constructor)); | |
8 | +__private_extern__ void __guard_setup(void); | |
9 | void __stack_smash_handler(char func[], int damaged __attribute__((unused))); | |
10 | ||
11 | -static void | |
12 | +__private_extern__ void | |
13 | __guard_setup(void) | |
14 | { | |
15 | int fd; |