kernel: Add FIXME in copy_to_user()/copy_from_user()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8098ff0616
commit
fd0e29ede5
@ -428,6 +428,8 @@ namespace MemoryManager
|
|||||||
return true;
|
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)
|
bool copy_to_user(void* user, const void* kernel, usize size)
|
||||||
{
|
{
|
||||||
uintptr_t user_ptr = (uintptr_t)user;
|
uintptr_t user_ptr = (uintptr_t)user;
|
||||||
|
Loading…
Reference in New Issue
Block a user