From 04d78adaf795c803f6867335c63f8339f13459eb Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 13 May 2021 22:48:02 +0200 Subject: [PATCH] Userland: Remove no-longer-needed unveil()'s of /tmp/rpc --- Userland/Services/EchoServer/main.cpp | 5 ----- Userland/Utilities/bt.cpp | 5 ----- 2 files changed, 10 deletions(-) diff --git a/Userland/Services/EchoServer/main.cpp b/Userland/Services/EchoServer/main.cpp index 4ae7a8b206..deb6d1aaee 100644 --- a/Userland/Services/EchoServer/main.cpp +++ b/Userland/Services/EchoServer/main.cpp @@ -21,11 +21,6 @@ int main(int argc, char** argv) return 1; } - if (unveil("/tmp/rpc", "rwc") < 0) { - perror("unveil"); - return 1; - } - if (unveil(nullptr, nullptr) < 0) { perror("unveil"); return 1; diff --git a/Userland/Utilities/bt.cpp b/Userland/Utilities/bt.cpp index 6472bcb322..acd2c3e910 100644 --- a/Userland/Utilities/bt.cpp +++ b/Userland/Utilities/bt.cpp @@ -23,11 +23,6 @@ int main(int argc, char** argv) return 1; } - if (unveil("/tmp/rpc", "crw") < 0) { - perror("unveil"); - return 1; - } - if (unveil("/tmp/portal/symbol", "rw") < 0) { perror("unveil"); return 1;