diff options
author | dzwdz | 2022-08-11 22:29:48 +0200 |
---|---|---|
committer | dzwdz | 2022-08-11 22:29:48 +0200 |
commit | 162395700b100943eb019ce2b363f4d6ed03ab1a (patch) | |
tree | 69f3e3905a6e2a162de91e7f2e1f8336dc045d4b /src/kernel/pipe.h | |
parent | 35e5e715070db6c4862f70fb05008fcb88420db9 (diff) |
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.
Diffstat (limited to 'src/kernel/pipe.h')
-rw-r--r-- | src/kernel/pipe.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 <kernel/proc.h> #include <stdbool.h> -/* 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); |