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
kvm_amd64.c
kvm_arm.c
kvm_cptime.c
kvm_file.c
kvm_getcptime.3
kvm_geterr.3
kvm_getfiles.3
kvm_getloadavg.3
kvm_getloadavg.c
kvm_getpcpu.3
kvm_getprocs.3
kvm_getswapinfo.3
kvm_getswapinfo.c
kvm_i386.c
kvm_minidump_amd64.c
kvm_minidump_arm.c
kvm_minidump_i386.c
kvm_minidump_mips.c
kvm_mips.c
kvm_nlist.3
kvm_open.3
kvm_pcpu.c
kvm_powerpc64.c
kvm_powerpc.c
kvm_private.h
kvm_proc.c
kvm_read.3
kvm_sparc64.c
kvm_sparc.c
kvm_vnet.c
kvm.3
kvm.c
kvm.h
Makefile
Makefile.depend