projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
properly access mcontext_t program counter in cancellation handler
[oweals/musl.git]
/
arch
/
x86_64
/
pthread_arch.h
diff --git
a/arch/x86_64/pthread_arch.h
b/arch/x86_64/pthread_arch.h
index 29e4590c16601909b9452eb6440a7374dad6498c..c61509cf3e37e4c7f839dfdc53e530311018c0e1 100644
(file)
--- a/
arch/x86_64/pthread_arch.h
+++ b/
arch/x86_64/pthread_arch.h
@@
-7,4
+7,4
@@
static inline struct pthread *__pthread_self()
#define TP_ADJ(p) (p)
-#define
CANCEL_REG_IP 16
+#define
MC_PC gregs[REG_RIP]