summaryrefslogtreecommitdiff
path: root/Userland/Games/2048/main.cpp
diff options
context:
space:
mode:
authorRalf Donau <ruelle@volleyballschlaeger.de>2021-08-26 20:51:53 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-26 21:40:39 +0200
commita6fc80f069f4c59bbaaa3b48985847af66eec2aa (patch)
treed61491c794015066aeb102f819b26d5c61f8c77e /Userland/Games/2048/main.cpp
parent5a0be07cf01a16a1fdd067a915061bb57464cdde (diff)
downloadserenity-a6fc80f069f4c59bbaaa3b48985847af66eec2aa.zip
Games: Remove unveiling /tmp/portal/config
Config::pledge_domains is applied before, hence /tmp/portal/config can and should be veiled.
Diffstat (limited to 'Userland/Games/2048/main.cpp')
-rw-r--r--Userland/Games/2048/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp
index a8a4c0a604..e3fa8d02cd 100644
--- a/Userland/Games/2048/main.cpp
+++ b/Userland/Games/2048/main.cpp
@@ -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;