Hearts: Remove wpath and cpath priviliges

There are no longer needed since the config file is not being
modified by the application directly.
This commit is contained in:
Mustafa Quraish 2021-08-27 12:32:54 -04:00 committed by Andreas Kling
commit 17299db61a
Notes: sideshowbarker 2024-07-18 05:12:06 +09:00

View file

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