1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +00:00

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
parent 9db5a1b92f
commit 2242f69cd6
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))