1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

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
parent c646efaf49
commit 17299db61a

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