1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 22:32:12 +00:00

Kernel: Use Userspace<T> for the open syscall

This commit is contained in:
Brian Gianforcaro 2020-08-04 22:16:59 -07:00 committed by Andreas Kling
parent f3eb7db422
commit 1eeaed31c2
2 changed files with 2 additions and 2 deletions

View file

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