blob: 5f57d352ffdc3668e1bdf952547743494792c35a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Author: Timo Teräs <timo.teras@iki.fi>
Due to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58245 many simple
programs can fail. Since in Alpine Linux everything default to be
built with -fstack-protector-all, we can just assume SSP being always
used.
Not suitable to upstream, as this incurs startup overhead that is not
desirable unless SSP is really used.
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index a525b3d..a1b8471 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -99,7 +99,7 @@ void __init_libc(char **, char *);
static struct dso *head, *tail, *ldso, *fini_head;
static char *env_path, *sys_path;
static unsigned long long gencnt;
-static int ssp_used;
+static int ssp_used = 1;
static int runtime;
static int ldd_mode;
static int ldso_fail;
|