On 2019/12/11 00:30, Philip Guenther wrote: > CVSROOT: /cvs > Module name: src > Changes by: guent...@cvs.openbsd.org 2019/12/11 00:30:09 > > Modified files: > sys/sys : proc.h sysctl.h > sys/kern : kern_event.c kern_exec.c kern_exit.c > kern_kthread.c kern_sig.c kern_sysctl.c > sched_bsd.c sys_process.c > sys/dev/pci/drm/scheduler: gpu_scheduler.c > > Log message: > Replace p_xstat with ps_xexit and ps_xsig > Convert those to a consolidated status when needed in wait4(), kevent(), > and sysctl() > Pass exit code and signal separately to exit1() > (This also serves as prep for adding waitid(2)) > > ok mpi@ >
This broke the tree, I've just committed this to fix things. CVSROOT: /cvs Module name: src Changes by: st...@cvs.openbsd.org 2019/12/11 05:36:28 Modified files: lib/libkvm : kvm_proc2.c Log message: add sys/wait.h to unbreak builds; following "Replace p_xstat with ps_xexit and ps_xsig" (sysctl.h r1.198 and friends) FILL_KPROC requires W_EXITCODE from there. cc -static -pie -o ps keyword.o nlist.o print.o ps.o utf8.o -lkvm ld: error: undefined symbol: W_EXITCODE >>> referenced by kvm_proc2.c:293 (/usr/src/lib/libkvm/kvm_proc2.c:293) [...] Index: kvm_proc2.c =================================================================== RCS file: /cvs/src/lib/libkvm/kvm_proc2.c,v retrieving revision 1.30 diff -u -p -r1.30 kvm_proc2.c --- kvm_proc2.c 22 Oct 2019 21:19:22 -0000 1.30 +++ kvm_proc2.c 11 Dec 2019 12:27:23 -0000 @@ -81,6 +81,7 @@ #include <sys/resourcevar.h> #include <sys/signalvar.h> #include <sys/pledge.h> +#include <sys/wait.h> #include <stddef.h> #include <stdlib.h> #include <string.h>