summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/serenity.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-16 22:27:38 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-16 22:43:03 +0100
commitb818cf898e7953ee05cb8f80ec04f91d9279695c (patch)
treeb47f8d0c8d448bd346387a974af88d72b3cb5817 /Userland/Libraries/LibC/serenity.cpp
parent968c1fa00ac2790281c0142ed5891c88a9b100fe (diff)
downloadserenity-b818cf898e7953ee05cb8f80ec04f91d9279695c.zip
Kernel+Userland: Remove sys$shbuf_allow_all() and userland wrappers
Nobody is using globally shared shbufs anymore, so let's remove them.
Diffstat (limited to 'Userland/Libraries/LibC/serenity.cpp')
-rw-r--r--Userland/Libraries/LibC/serenity.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Userland/Libraries/LibC/serenity.cpp b/Userland/Libraries/LibC/serenity.cpp
index df5d5bfacc..730f37932a 100644
--- a/Userland/Libraries/LibC/serenity.cpp
+++ b/Userland/Libraries/LibC/serenity.cpp
@@ -113,12 +113,6 @@ int shbuf_allow_pid(int shbuf_id, pid_t peer_pid)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
-int shbuf_allow_all(int shbuf_id)
-{
- int rc = syscall(SC_shbuf_allow_all, shbuf_id);
- __RETURN_WITH_ERRNO(rc, rc, -1);
-}
-
int get_stack_bounds(uintptr_t* user_stack_base, size_t* user_stack_size)
{
int rc = syscall(SC_get_stack_bounds, user_stack_base, user_stack_size);