kernel: reset process wakeups on exec

This commit is contained in:
Giacomo Tesio 2017-05-15 00:35:22 +02:00
parent f9b2e9aba4
commit 031201a1ac
1 changed files with 2 additions and 0 deletions

View File

@ -663,6 +663,8 @@ CopyExecArgument:
up->notify = 0;
up->notified = 0;
up->privatemem = 0;
up->lastWakeup = 0;
up->pendingWakeup = 0;
sysprocsetup(up);
qunlock(&up->debug);
if(up->hang)