freebsd-dev/sys/compat/cloudabi
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
..
cloudabi_clock.c
cloudabi_errno.c Add a sysentvec for CloudABI on x86-64. 2015-07-16 18:24:06 +00:00
cloudabi_fd.c Use FDDUP_NORMAL instead of hardcoding value 0. 2015-07-11 18:53:30 +00:00
cloudabi_file.c Make posix_fallocate() and posix_fadvise() work. 2015-07-15 09:14:06 +00:00
cloudabi_futex.c
cloudabi_mem.c Implement CloudABI memory management system calls. 2015-07-17 09:00:38 +00:00
cloudabi_proc.c The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
cloudabi_proto.h
cloudabi_random.c Implement the CloudABI random_get() system call. 2015-07-14 18:45:15 +00:00
cloudabi_sock.c Implement the trivial socket system calls: shutdown() and listen(). 2015-07-15 11:27:34 +00:00
cloudabi_syscalldefs.h
cloudabi_thread.c Implement thread_tcb_set() and thread_yield(). 2015-07-14 15:11:50 +00:00
cloudabi_util.h Add a sysentvec for CloudABI on x86-64. 2015-07-16 18:24:06 +00:00