mcexec: Don't forward SIGTSTP SIGTTIN SIGTTOUT to mckernel

Change-Id: I72bb74d6b98e1f0bf519c8f0fef742624a2a699a
Refs: #1425
This commit is contained in:
Ken Sato
2020-06-04 14:18:08 +09:00
committed by Masamichi Takagi
parent b44b11ace7
commit 4b66373813
7 changed files with 500 additions and 1 deletions

View File

@@ -1322,7 +1322,8 @@ void init_sigaction(void)
master_tid = gettid();
for (i = 1; i <= 64; i++) {
if (i != SIGKILL && i != SIGSTOP && i != SIGCHLD) {
if (i != SIGKILL && i != SIGSTOP && i != SIGCHLD &&
i != SIGTSTP && i != SIGTTIN && i != SIGTTOU) {
struct sigaction act;
sigaction(i, NULL, &act);