mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
Kernel: Use Userspace<T> for the mmap syscall
This commit is contained in:
parent
74d3b202f1
commit
901dae0227
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ static bool validate_inode_mmap_prot(const Process& process, int prot, const Ino
|
|||
return true;
|
||||
}
|
||||
|
||||
void* Process::sys$mmap(const Syscall::SC_mmap_params* user_params)
|
||||
void* Process::sys$mmap(Userspace<const Syscall::SC_mmap_params*> user_params)
|
||||
{
|
||||
REQUIRE_PROMISE(stdio);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue