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`)
This commit is contained in:
Dominique Martinet
2017-10-13 09:56:34 +09:00
parent 196379854b
commit b962da700b

View File

@ -924,6 +924,7 @@ do_signal(unsigned long rc, void *regs0, struct thread *thread, struct sig_pendi
break; break;
case SIGCHLD: case SIGCHLD:
case SIGURG: case SIGURG:
case SIGWINCH:
break; break;
default: default:
dkprintf("do_signal,default,terminate,sig=%d\n", sig); dkprintf("do_signal,default,terminate,sig=%d\n", sig);