Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hurd signals: don't drop blocked ignored signals

Although POSIX tolerates the current approach, it is more consistent
to wait for ignored signals to be unblocked before we deliver them.

	* hurd/hurdsig.c (post_signal): Don't drop blocked ignored signals.
  • Loading branch information...
commit 8e87205e2f8bd8ce8fca2eba75f7695394351f24 1 parent da8bf5e
@jeremie-koenig authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 hurd/hurdsig.c
View
4 hurd/hurdsig.c
@@ -859,9 +859,7 @@ post_signal (struct hurd_sigstate *ss,
}
/* Handle receipt of a blocked signal, or any signal while stopped. */
- if (act != ignore && /* Signals ignored now are forgotten now. */
- __sigismember (&blocked, signo) ||
- (signo != SIGKILL && _hurd_stopped))
+ if (__sigismember (&blocked, signo) || (signo != SIGKILL && _hurd_stopped))
{
mark_pending ();
act = ignore;
Please sign in to comment.
Something went wrong with that request. Please try again.