Kernel: Use Userspace<T> for the set_mmap_name syscall

This commit is contained in:
Brian Gianforcaro 2020-08-04 22:38:00 -07:00 committed by Andreas Kling
commit d949b2a367
Notes: sideshowbarker 2024-07-19 04:17:54 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -331,7 +331,7 @@ int Process::sys$minherit(void* address, size_t size, int inherit)
return -EINVAL;
}
int Process::sys$set_mmap_name(const Syscall::SC_set_mmap_name_params* user_params)
int Process::sys$set_mmap_name(Userspace<const Syscall::SC_set_mmap_name_params*> user_params)
{
REQUIRE_PROMISE(stdio);