From 84fa0102c6906252999967925f32098ab6d5a259 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 11 Jun 2023 19:17:39 +0200 Subject: kernel: replace await with wait2, roughly compatible with POSIX dash works now :^))) --- src/kernel/proc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index f473124..a1820dc 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -44,6 +44,10 @@ struct Proc { enum proc_state state; union { /* saved value, meaning depends on .state */ int death_msg; // PS_DEAD + struct { + bool legacy; /* false = wait2, true = await */ + struct sys_wait2 __user *out; + } awaited_death; struct { char __user *buf; size_t max_len; -- cgit v1.2.3