mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
Kernel: Use Userspace<T> in pledge syscall
This commit is contained in:
parent
ba4cf59d04
commit
2a74c59dec
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
int Process::sys$pledge(const Syscall::SC_pledge_params* user_params)
|
||||
int Process::sys$pledge(Userspace<const Syscall::SC_pledge_params*> user_params)
|
||||
{
|
||||
Syscall::SC_pledge_params params;
|
||||
if (!validate_read_and_copy_typed(¶ms, user_params))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue