1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

WindowServer: Remove unveils of /bin and /etc/passwd

This is no longer needed now that we have SystemMenu. :^)
This commit is contained in:
Andreas Kling 2020-02-17 20:10:48 +01:00
parent a008e2f63a
commit 2060da829c

View file

@ -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;