Games: Remove unveiling /tmp/portal/config

Config::pledge_domains is applied before, hence /tmp/portal/config
can and should be veiled.
This commit is contained in:
Ralf Donau 2021-08-26 20:51:53 +02:00 committed by Andreas Kling
parent 5a0be07cf0
commit a6fc80f069
Notes: sideshowbarker 2024-07-18 05:16:14 +09:00
3 changed files with 0 additions and 15 deletions

View file

@ -49,11 +49,6 @@ int main(int argc, char** argv)
return 1;
}
if (unveil("/tmp/portal/config", "rw") < 0) {
perror("unveil");
return 1;
}
if (unveil(nullptr, nullptr) < 0) {
perror("unveil");
return 1;

View file

@ -38,11 +38,6 @@ int main(int argc, char** argv)
return 1;
}
if (unveil("/tmp/portal/config", "rw") < 0) {
perror("unveil");
return 1;
}
if (unveil("/bin/ChessEngine", "x") < 0) {
perror("unveil");
return 1;

View file

@ -38,11 +38,6 @@ int main(int argc, char** argv)
return 1;
}
if (unveil("/tmp/portal/config", "rw") < 0) {
perror("unveil");
return 1;
}
if (unveil(nullptr, nullptr) < 0) {
perror("unveil");
return 1;