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:
parent
e073f2b59e
commit
c8ae244ab8
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue