From b818cf898e7953ee05cb8f80ec04f91d9279695c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 16 Jan 2021 22:27:38 +0100 Subject: Kernel+Userland: Remove sys$shbuf_allow_all() and userland wrappers Nobody is using globally shared shbufs anymore, so let's remove them. --- Userland/Libraries/LibC/serenity.cpp | 6 ------ Userland/Libraries/LibC/serenity.h | 1 - 2 files changed, 7 deletions(-) (limited to 'Userland/Libraries') 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); -- cgit v1.2.3