Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
qemu-usermode: Don't block SIGINT
To fix gnulib-tests
  • Loading branch information
Thaodan committed Jan 26, 2021
1 parent ee5b6ad commit 329ee6d
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -12,11 +12,10 @@ diff --git a/linux-user/signal.c b/linux-user/signal.c
index 8cf51ffecd..728929bcab 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -241,6 +241,9 @@ int do_sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
@@ -241,6 +241,8 @@ int do_sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
/* Silently ignore attempts to change blocking status of KILL or STOP */
sigdelset(&ts->signal_mask, SIGKILL);
sigdelset(&ts->signal_mask, SIGSTOP);
+ sigdelset(&ts->signal_mask, SIGINT);
+ sigdelset(&ts->signal_mask, SIGTERM);
+ sigdelset(&ts->signal_mask, SIGHUP);
}
Expand Down

0 comments on commit 329ee6d

Please sign in to comment.