Konstantin Belousov b4490c6e93 The si_status field of the siginfo_t, provided by the waitid(2) and
SIGCHLD signal, should keep full 32 bits of the status passed to the
_exit(2).

Split the combined p_xstat of the struct proc into the separate exit
status p_xexit for normal process exit, and signalled termination
information p_xsig.  Kernel-visible macro KW_EXITCODE() reconstructs
old p_xstat from p_xexit and p_xsig.  p_xexit contains complete status
and copied out into si_status.

Requested by:	Joerg Schilling
Reviewed by:	jilles (previous version), pho
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
2015-07-18 09:02:50 +00:00
..
2014-06-26 10:21:00 +00:00
2013-01-15 14:09:08 +00:00
2014-09-30 00:06:53 +00:00
2013-08-16 13:16:27 +00:00
2011-11-10 06:20:18 +00:00
2015-03-29 19:14:41 +00:00
2015-03-29 19:14:41 +00:00
2012-05-08 18:56:21 +00:00
2014-05-30 02:16:28 +00:00
2012-05-08 18:56:21 +00:00
2015-07-07 19:23:59 +00:00
2012-05-08 18:56:21 +00:00
2015-04-26 10:52:37 +00:00
2015-07-03 17:30:31 +00:00
2015-02-07 13:11:45 +00:00
2012-01-15 20:14:52 +00:00
2010-12-18 10:09:07 +00:00
2014-06-24 20:23:18 +00:00
2015-06-14 07:47:18 +00:00
2012-06-02 10:50:25 +00:00
2012-05-08 18:56:21 +00:00
2012-05-08 18:56:21 +00:00
2012-05-08 18:56:21 +00:00