1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

Kernel: Use Userspace<T> for the shbuf_get syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:30:11 -07:00 committed by Andreas Kling
parent e073f2b59e
commit c8ae244ab8
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ int Process::sys$shbuf_release(int shbuf_id)
return 0;
}
void* Process::sys$shbuf_get(int shbuf_id, size_t* user_size)
void* Process::sys$shbuf_get(int shbuf_id, Userspace<size_t*> user_size)
{
REQUIRE_PROMISE(shared_buffer);
if (user_size && !validate_write_typed(user_size))