diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-01 16:17:45 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-02 10:56:43 +0200 |
commit | 2a74c59dec999002e166e73926dac94f1f5ac26b (patch) | |
tree | e0e6d56091c973c10f887fd0eaaf8bcd147d0c10 /Kernel/Syscalls/pledge.cpp | |
parent | ba4cf59d04a1079c86672452f6f870b7afa51913 (diff) | |
download | serenity-2a74c59dec999002e166e73926dac94f1f5ac26b.zip |
Kernel: Use Userspace<T> in pledge syscall
Diffstat (limited to 'Kernel/Syscalls/pledge.cpp')
-rw-r--r-- | Kernel/Syscalls/pledge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/pledge.cpp b/Kernel/Syscalls/pledge.cpp index efed041ef6..4cd9345235 100644 --- a/Kernel/Syscalls/pledge.cpp +++ b/Kernel/Syscalls/pledge.cpp @@ -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)) |