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
commit 2060da829c
Notes: sideshowbarker 2024-07-19 09:15:22 +09:00

View file

@ -48,11 +48,6 @@ int main(int, char**)
return 1; return 1;
} }
if (unveil("/etc/passwd", "r") < 0) {
perror("unveil");
return 1;
}
if (unveil("/tmp", "cw") < 0) { if (unveil("/tmp", "cw") < 0) {
perror("unveil"); perror("unveil");
return 1; return 1;
@ -110,11 +105,6 @@ int main(int, char**)
return 1; return 1;
} }
if (unveil("/bin", "x") < 0) {
perror("unveil");
return 1;
}
if (unveil(nullptr, nullptr) < 0) { if (unveil(nullptr, nullptr) < 0) {
perror("unveil"); perror("unveil");
return 1; return 1;