From e28ea65105c4afd3a3dea7d050b392565d15120d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Feb 2021 22:13:59 +0100 Subject: Started GUI rewrite It's a mess right now.. --- kernel/features/proc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/features') diff --git a/kernel/features/proc.c b/kernel/features/proc.c index 74fa5d4..2ca213b 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -290,6 +290,7 @@ s32 procfs_write(const char *path, void *buf, u32 offset, u32 count, struct devi path++; if (!memcmp(path, "msg", 4)) { + // TODO: Messages should be copied by value not by reference stack_push_bot(p->messages, buf); // TODO: Use offset and count proc_enable_waiting(pid, PROC_WAIT_MSG); return count; -- cgit v1.2.3