summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2023-06-11 19:17:39 +0200
committerdzwdz2023-06-11 19:17:39 +0200
commit84fa0102c6906252999967925f32098ab6d5a259 (patch)
tree00bd8c98a68e4882e2f42510c9c55932ef855ba3 /src/kernel/proc.h
parentff154205e1671e11ed8566740c1cefaad79c2512 (diff)
kernel: replace await with wait2, roughly compatible with POSIX
dash works now :^)))
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h4
1 files changed, 4 insertions, 0 deletions
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
@@ -45,6 +45,10 @@ struct Proc {
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;
struct ufs_request __user *res;