svn commit: r265184 - user/dchagin/lemul/sys/compat/linux
Dmitry Chagin
dchagin at FreeBSD.org
Thu May 1 13:59:25 UTC 2014
Author: dchagin
Date: Thu May 1 13:59:24 2014
New Revision: 265184
URL: http://svnweb.freebsd.org/changeset/base/265184
Log:
Set WIFCONTINUED to the wait status if needed.
Modified:
user/dchagin/lemul/sys/compat/linux/linux_misc.c
Modified: user/dchagin/lemul/sys/compat/linux/linux_misc.c
==============================================================================
--- user/dchagin/lemul/sys/compat/linux/linux_misc.c Thu May 1 13:57:23 2014 (r265183)
+++ user/dchagin/lemul/sys/compat/linux/linux_misc.c Thu May 1 13:59:24 2014 (r265184)
@@ -857,6 +857,8 @@ linux_common_wait(struct thread *td, int
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));
}
More information about the svn-src-user
mailing list