summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-09 15:30:11 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-10 12:52:15 +0200
commitc8ae244ab8c65500ad940cdf4e3cd50068308e9f (patch)
tree86fb2ae713c57de114b55380a5c957d23ca53c1a /Kernel/Process.h
parente073f2b59eb9bbfb5c9c3b754c4f037d0aaac894 (diff)
downloadserenity-c8ae244ab8c65500ad940cdf4e3cd50068308e9f.zip
Kernel: Use Userspace<T> for the shbuf_get 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 ffda74443d..83a3687efa 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -315,7 +315,7 @@ public:
int sys$shbuf_create(int, void** buffer);
int sys$shbuf_allow_pid(int, pid_t peer_pid);
int sys$shbuf_allow_all(int);
- void* sys$shbuf_get(int shbuf_id, size_t* size);
+ void* sys$shbuf_get(int shbuf_id, Userspace<size_t*> size);
int sys$shbuf_release(int shbuf_id);
int sys$shbuf_seal(int shbuf_id);
int sys$shbuf_set_volatile(int shbuf_id, bool);