summaryrefslogtreecommitdiff
path: root/Userland/Libraries
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
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')
-rw-r--r--Userland/Libraries/LibC/serenity.cpp6
-rw-r--r--Userland/Libraries/LibC/serenity.h1
2 files changed, 0 insertions, 7 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);
diff --git a/Userland/Libraries/LibC/serenity.h b/Userland/Libraries/LibC/serenity.h
index 5ad28a5723..f1abc160bd 100644
--- a/Userland/Libraries/LibC/serenity.h
+++ b/Userland/Libraries/LibC/serenity.h
@@ -35,7 +35,6 @@ int disown(pid_t);
int shbuf_create(int, void** buffer);
int shbuf_allow_pid(int, pid_t peer_pid);
-int shbuf_allow_all(int);
void* shbuf_get(int shbuf_id, size_t* size);
int shbuf_release(int shbuf_id);
int shbuf_seal(int shbuf_id);