summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-01 16:12:09 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-02 20:54:17 +0200
commit2242f69cd625310ddf7ee4d3bcad5e7070819516 (patch)
tree51d250be4995b7e0c881a877b02b56c641164d45 /Kernel/Process.h
parent9db5a1b92fb59f5c2be06715ce9b8014c4b62b36 (diff)
downloadserenity-2242f69cd625310ddf7ee4d3bcad5e7070819516.zip
Kernel: Use Userspace<T> in unveil syscall
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index d9087d663f..8bcab0db08 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -326,7 +326,7 @@ public:
int sys$set_process_boost(pid_t, int amount);
int sys$chroot(const char* path, size_t path_length, int mount_flags);
int sys$pledge(Userspace<const Syscall::SC_pledge_params*>);
- int sys$unveil(const Syscall::SC_unveil_params*);
+ int sys$unveil(Userspace<const Syscall::SC_unveil_params*>);
int sys$perf_event(int type, FlatPtr arg1, FlatPtr arg2);
int sys$get_stack_bounds(FlatPtr* stack_base, size_t* stack_size);
int sys$ptrace(Userspace<const Syscall::SC_ptrace_params*>);