diff options
| author | 2019-12-11 07:30:09 +0000 | |
|---|---|---|
| committer | 2019-12-11 07:30:09 +0000 | |
| commit | 381e34d2ea89fee5668fcdf23ae079bf0d0c5f37 (patch) | |
| tree | 1f7f95347c3a6f7253641b3f231d9ec05645caf5 /sys/kern/kern_exec.c | |
| parent | %r26 hasn't been used by the threads implementation since 2016, so stop (diff) | |
| download | wireguard-openbsd-381e34d2ea89fee5668fcdf23ae079bf0d0c5f37.tar.xz wireguard-openbsd-381e34d2ea89fee5668fcdf23ae079bf0d0c5f37.zip | |
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@
Diffstat (limited to 'sys/kern/kern_exec.c')
| -rw-r--r-- | sys/kern/kern_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 4b3d32e8b8d..39af7a3de4b 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.211 2019/12/01 18:17:31 naddy Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.212 2019/12/11 07:30:09 guenther Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -756,7 +756,7 @@ exec_abort: free_pack_abort: free(pack.ep_hdr, M_EXEC, pack.ep_hdrlen); - exit1(p, W_EXITCODE(0, SIGABRT), EXIT_NORMAL); + exit1(p, 0, SIGABRT, EXIT_NORMAL); /* NOTREACHED */ atomic_clearbits_int(&pr->ps_flags, PS_INEXEC); |
