From 2060da829ca2b87467d9cd3bbe19712b66500519 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 17 Feb 2020 20:10:48 +0100 Subject: WindowServer: Remove unveils of /bin and /etc/passwd This is no longer needed now that we have SystemMenu. :^) --- Servers/WindowServer/main.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'Servers') diff --git a/Servers/WindowServer/main.cpp b/Servers/WindowServer/main.cpp index 6d81617260..e2c688f932 100644 --- a/Servers/WindowServer/main.cpp +++ b/Servers/WindowServer/main.cpp @@ -48,11 +48,6 @@ int main(int, char**) return 1; } - if (unveil("/etc/passwd", "r") < 0) { - perror("unveil"); - return 1; - } - if (unveil("/tmp", "cw") < 0) { perror("unveil"); return 1; @@ -110,11 +105,6 @@ int main(int, char**) return 1; } - if (unveil("/bin", "x") < 0) { - perror("unveil"); - return 1; - } - if (unveil(nullptr, nullptr) < 0) { perror("unveil"); return 1; -- cgit v1.2.3