freebsd-dev/lib/libkvm
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
..
kvm_aarch64.c Add stub functions to build libkvm. There will be added, but we need them 2015-04-02 17:30:19 +00:00
kvm_amd64.c Remove ia64. 2014-07-07 00:27:09 +00:00
kvm_arm.c Allow libkvm to get the kernel va to pa delta without the need for 2014-10-19 20:23:31 +00:00
kvm_cptime.c
kvm_file.c
kvm_getcptime.3
kvm_geterr.3
kvm_getfiles.3
kvm_getloadavg.3
kvm_getloadavg.c
kvm_getpcpu.3 Add kvm_getncpus() to obtain mp_ncpus. 2014-02-12 19:22:48 +00:00
kvm_getprocs.3
kvm_getswapinfo.3
kvm_getswapinfo.c
kvm_i386.c Remove ia64. 2014-07-07 00:27:09 +00:00
kvm_minidump_amd64.c Add bounds check for pteindex / pdeindex 2014-02-12 15:57:38 +00:00
kvm_minidump_arm.c add support for building a cross-gdb for ARM... This isn't hooked up 2014-02-12 02:08:42 +00:00
kvm_minidump_i386.c
kvm_minidump_mips.c
kvm_mips.c
kvm_nlist.3
kvm_open.3
kvm_pcpu.c Add kvm_getncpus() to obtain mp_ncpus. 2014-02-12 19:22:48 +00:00
kvm_powerpc64.c
kvm_powerpc.c
kvm_private.h
kvm_proc.c The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
kvm_read.3
kvm_sparc64.c
kvm_sparc.c
kvm_vnet.c
kvm.3
kvm.c Allow building a cross libkvm by setting TARGET_ARCH. The library so 2013-12-28 23:01:57 +00:00
kvm.h Add kvm_getncpus() to obtain mp_ncpus. 2014-02-12 19:22:48 +00:00
Makefile Revert r284417 it is not necessary anymore 2015-06-15 19:28:07 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00