diff options
author | dzwdz | 2021-09-12 11:28:16 +0200 |
---|---|---|
committer | dzwdz | 2021-09-12 11:28:16 +0200 |
commit | f6238db266300e8efdf20b98734f1c21abafd6a0 (patch) | |
tree | 0d2d418f082ef47794f5f1ea88f025d93745e259 /src | |
parent | e1789ffa14826e0c7378f974ac68c2c04ba8640c (diff) |
remove obsolete comment
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/syscalls.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |