1
Fork 0
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:
Brian Gianforcaro 2020-08-04 22:30:40 -07:00 committed by Andreas Kling
parent 74d3b202f1
commit 901dae0227
2 changed files with 2 additions and 2 deletions

View file

@ -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);