From 17299db61a8a4a1d8ecad0cf13e5ff7d36d40326 Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Fri, 27 Aug 2021 12:32:54 -0400 Subject: [PATCH] Hearts: Remove `wpath` and `cpath` priviliges There are no longer needed since the config file is not being modified by the application directly. --- Userland/Games/Hearts/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/Hearts/main.cpp b/Userland/Games/Hearts/main.cpp index 512e5a3dc2..e8f3e211a4 100644 --- a/Userland/Games/Hearts/main.cpp +++ b/Userland/Games/Hearts/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char** argv) Config::pledge_domains("Hearts"); - if (pledge("stdio recvfd sendfd rpath wpath cpath", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; }