summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index 5120778..8a19d8f 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -128,3 +128,11 @@ Handle *proc_hid_take(Proc *, hid_t);
hid_t proc_handle_put(Proc *, Handle *);
void proc_setstate(Proc *, enum proc_state);
+
+size_t pcpy_to(Proc *p, __user void *dst, const void *src, size_t len);
+size_t pcpy_from(Proc *p, void *dst, const __user void *src, size_t len);
+size_t pcpy_bi(
+ Proc *dstp, __user void *dst,
+ Proc *srcp, const __user void *src,
+ size_t len
+);