kernel: Add FIXME in copy_to_user()/copy_from_user()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-01-25 21:22:14 +01:00
parent 8098ff0616
commit fd0e29ede5
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -428,6 +428,8 @@ namespace MemoryManager
return true;
}
// FIXME: Use memcpy() in both copy_to_user and copy_from_user().
bool copy_to_user(void* user, const void* kernel, usize size)
{
uintptr_t user_ptr = (uintptr_t)user;