From 162395700b100943eb019ce2b363f4d6ed03ab1a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 11 Aug 2022 22:29:48 +0200 Subject: kernel/syscalls: merge a few syscalls into vfsop_simple Those had a lot of repeating code, but I'm not sure if this is the right change. Well, apart from making pipe_joinqueue more consistent. --- src/kernel/pipe.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/kernel/pipe.h') diff --git a/src/kernel/pipe.h b/src/kernel/pipe.h index 9040ab1..2a90738 100644 --- a/src/kernel/pipe.h +++ b/src/kernel/pipe.h @@ -2,10 +2,8 @@ #include #include -/* returns false on failure */ -bool pipe_joinqueue(struct handle *h, bool wants_write, +/* eventually transitions to PS_RUNNING */ +void pipe_joinqueue(struct handle *h, bool wants_write, struct process *proc, void __user *pbuf, size_t pbuflen); -void pipe_trytransfer(struct handle *h); - void pipe_invalidate_end(struct handle *h); -- cgit v1.2.3