projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix stack protector crashes on x32 & powerpc due to misplaced TLS canary
[musl]
/
arch
/
x32
/
pthread_arch.h
diff --git
a/arch/x32/pthread_arch.h
b/arch/x32/pthread_arch.h
index
23e1051
..
033bfd6
100644
(file)
--- a/
arch/x32/pthread_arch.h
+++ b/
arch/x32/pthread_arch.h
@@
-8,3
+8,5
@@
static inline struct pthread *__pthread_self()
#define TP_ADJ(p) (p)
#define CANCEL_REG_IP 32
+
+#define CANARY canary2