diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/forward.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/nptl/forward.c b/nptl/forward.c index 6355c23..eb3c41f 100644 --- a/nptl/forward.c +++ b/nptl/forward.c @@ -23,7 +23,7 @@ #include <shlib-compat.h> #include <atomic.h> -#include <sysdep.h> +#include <safe-fatal.h> /* Pointers to the libc functions. */ @@ -202,11 +202,8 @@ FORWARD (pthread_setcancelstate, (int state, int *oldstate), (state, oldstate), FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0) -FORWARD_NORETURN(__pthread_unwind, - void attribute_hidden __attribute ((noreturn)) __cleanup_fct_attribute - attribute_compat_text_section, - (__pthread_unwind_buf_t *buf), (buf), { - /* We cannot call abort() here. */ - INTERNAL_SYSCALL_DECL (err); - INTERNAL_SYSCALL (kill, err, 1, SIGKILL); - }) +FORWARD_NORETURN (__pthread_unwind, + void attribute_hidden __attribute ((noreturn)) + __cleanup_fct_attribute attribute_compat_text_section, + (__pthread_unwind_buf_t *buf), (buf), + __safe_fatal ()) |