Kernel: Use Userspace<T> in unveil syscall

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

View file

@ -31,7 +31,7 @@
namespace Kernel {
int Process::sys$unveil(const Syscall::SC_unveil_params* user_params)
int Process::sys$unveil(Userspace<const Syscall::SC_unveil_params*> user_params)
{
Syscall::SC_unveil_params params;
if (!validate_read_and_copy_typed(&params, user_params))