diff options
-rw-r--r-- | lib/libkse/thread/thr_sig.c | 7 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_sig.c | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/lib/libkse/thread/thr_sig.c b/lib/libkse/thread/thr_sig.c index b19745c..2a8d667 100644 --- a/lib/libkse/thread/thr_sig.c +++ b/lib/libkse/thread/thr_sig.c @@ -469,12 +469,7 @@ thr_sig_invoke_handler(struct pthread *curthread, int sig, siginfo_t *info, shi.sa_flags = sa_flags; shi.info = info; shi.ucp = ucp; - /* - * XXX Not ready for scope system thread, kernel bits - * should involve in - */ - if ((curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) == 0 && - (curthread->sigstk.ss_flags & SS_DISABLE) == 0) { + if ((curthread->sigstk.ss_flags & SS_DISABLE) == 0) { /* Deliver signal on alternative stack */ if (sa_flags & SA_ONSTACK && !onstack) handle_signal_altstack(curthread, &shi); diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c index b19745c..2a8d667 100644 --- a/lib/libpthread/thread/thr_sig.c +++ b/lib/libpthread/thread/thr_sig.c @@ -469,12 +469,7 @@ thr_sig_invoke_handler(struct pthread *curthread, int sig, siginfo_t *info, shi.sa_flags = sa_flags; shi.info = info; shi.ucp = ucp; - /* - * XXX Not ready for scope system thread, kernel bits - * should involve in - */ - if ((curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) == 0 && - (curthread->sigstk.ss_flags & SS_DISABLE) == 0) { + if ((curthread->sigstk.ss_flags & SS_DISABLE) == 0) { /* Deliver signal on alternative stack */ if (sa_flags & SA_ONSTACK && !onstack) handle_signal_altstack(curthread, &shi); |