From b962da700b0d17b62126f73c5d6f4317914f9ada Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Fri, 13 Oct 2017 09:56:34 +0900 Subject: [PATCH] do_signal: ignore SIGWINCH McKernel would terminate() running program on terminal resizing It actually looks like there is nothing for us to do when we get that anyway (tested with `dialog`) --- arch/x86/kernel/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/syscall.c b/arch/x86/kernel/syscall.c index f36a681e..6ac097cb 100644 --- a/arch/x86/kernel/syscall.c +++ b/arch/x86/kernel/syscall.c @@ -924,6 +924,7 @@ do_signal(unsigned long rc, void *regs0, struct thread *thread, struct sig_pendi break; case SIGCHLD: case SIGURG: + case SIGWINCH: break; default: dkprintf("do_signal,default,terminate,sig=%d\n", sig);