freebsd-dev/lib/libc
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
..
aarch64 Add support for makecontext. This supports up to 8 arguments as this 2015-07-10 08:36:22 +00:00
amd64 Remove reboot.S (part of libc). It's not needed and was actually 2015-07-07 09:25:51 +00:00
arm Export the ARM __aeabi_mem* functions from libc, they are needed by the gcc 2015-06-16 16:40:25 +00:00
capability use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
compat-43 Reduce the size of the interposing table and amount of 2015-01-11 22:16:31 +00:00
db Drop some unnecessary casts. 2015-05-18 16:28:13 +00:00
gdtoa Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
gen Since sh(1) now supports mulitbyte (only UTF-8) clarify the related BUGS 2015-07-11 13:07:50 +00:00
gmon Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
i386 Remove reboot.S (part of libc). It's not needed and was actually 2015-07-07 09:25:51 +00:00
iconv Fix improbable memory leak in _citrus_prop_read_str(). 2015-04-20 22:09:50 +00:00
include Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
inet Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
isc Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
locale __xlocale_C_ctype should not be const. It contains a reference count that is modified by newlocale / duplocale / freelocale. 2015-04-24 10:21:20 +00:00
md Bring the md5 functions into libc for internal use only. 2014-08-12 12:25:56 +00:00
mips Removed unused special fork() implementations. 2015-05-29 19:42:55 +00:00
nameser Add missing break. 2014-08-20 14:58:25 +00:00
net Fix name of a constant. 2015-06-14 20:16:36 +00:00
nls Use mdoc(7) macros to handle parenthesis 2015-04-26 10:54:52 +00:00
posix1e libc: plug memory leaks in edge cases for the posix1e code. 2015-03-13 18:42:43 +00:00
powerpc The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
powerpc64 The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
quad Remove MK_ARM_EABI, the armeb issues have been fixed. The code to support 2014-10-01 08:26:51 +00:00
regex mdoc: rendering fixes 2015-04-26 10:55:39 +00:00
resolv Add support for '_' occurring at the beginning or end of a name 2015-06-10 16:15:22 +00:00
rpc mdoc: fix functions declarations 2015-04-26 10:53:50 +00:00
softfloat Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
sparc64 The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
stdio Add fdclose(3) function. 2015-07-04 16:42:14 +00:00
stdlib Fix major copy/paste and other style errors. 2015-05-05 10:44:17 +00:00
stdtime 1) Fix the case we have less arguments for format string than we expected. 2014-10-07 06:34:05 +00:00
string strchr(3): Mdoc fixes. 2015-06-04 21:54:46 +00:00
sys The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
tests Add support for makecontext. This supports up to 8 arguments as this 2015-07-10 08:36:22 +00:00
uuid Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
xdr Use proper prototype for harmless(). 2015-05-31 19:09:24 +00:00
yp Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
libc.ldscript Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
Makefile Revert r284417 it is not necessary anymore 2015-06-15 19:28:07 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
Versions.def Fix the inheritance of the FBSDprivate_1.0 namespace. 2014-04-03 17:31:38 +00:00