MFC r283434:
Set WIFCONTINUED to the wait status if needed.
This commit is contained in:
parent
c0b5073f8d
commit
711049c77b
@ -873,6 +873,8 @@ linux_common_wait(struct thread *td, int pid, int *status,
|
||||
else if (WIFSTOPPED(tmpstat))
|
||||
tmpstat = (tmpstat & 0xffff00ff) |
|
||||
(BSD_TO_LINUX_SIGNAL(WSTOPSIG(tmpstat)) << 8);
|
||||
else if (WIFCONTINUED(tmpstat))
|
||||
tmpstat = 0xffff;
|
||||
error = copyout(&tmpstat, status, sizeof(int));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user