diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-17 20:10:48 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-17 20:20:46 +0100 |
commit | 2060da829ca2b87467d9cd3bbe19712b66500519 (patch) | |
tree | 2431c624168ffa928cb5cb537cfc9723042ca00c /Servers | |
parent | a008e2f63a5fc0cff98df7c5652b9f93a75512a9 (diff) | |
download | serenity-2060da829ca2b87467d9cd3bbe19712b66500519.zip |
WindowServer: Remove unveils of /bin and /etc/passwd
This is no longer needed now that we have SystemMenu. :^)
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/WindowServer/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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; |