OSDN Git Service

fix pthread_cancel lead to segmentation fault for x86_64.
authorZhang Pu <glen4linux@gmail.com>
Tue, 20 May 2014 16:52:55 +0000 (00:52 +0800)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 12 Jun 2014 15:33:39 +0000 (17:33 +0200)
commit1608819110a4f2a40c3781a9c4b8a8f4b2cea69a
treebb181f397c1ffbc84e9e0c5b94893cab074666c3
parent8b8ad6ed0fb73ff5c331076ee82ff644d0b8cb07
fix pthread_cancel lead to segmentation fault for x86_64.

When x86_64 cpu contains 'cpu_has_xsave' flag(in kernel),call the
pthread_cancel will have a segmentation fault. Because gcc could
not find the end of stack in user signal stack.

Signed-off-by: Zhang Pu <glen4linux@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/x86_64/sigaction.c