From f6238db266300e8efdf20b98734f1c21abafd6a0 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 12 Sep 2021 11:28:16 +0200 Subject: remove obsolete comment --- src/kernel/syscalls.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/kernel') diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 743d5c5..9c6a1e0 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -79,9 +79,7 @@ handle_t _syscall_open(const char __user *path, int len) { return -1; // copy the path to the kernel - // note: the cast is necessary because the function usually accepts user_ptrs - // it can handle copies to physical memory too, though - // note 2: path_buf gets freed in vfs_backend_finish + // path_buf gets freed in vfs_backend_finish path_buf = kmalloc(len); if (!virt_cpy_from(process_current->pages, path_buf, path, len)) goto fail; -- cgit v1.2.3