1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

2048: Remove wpath and cpath pledges

With the move to LibConfig, these are no longer needed.
This commit is contained in:
Luke Wilde 2021-08-27 15:38:32 +01:00 committed by Ali Mohammad Pur
parent c0c33a4604
commit 041007e9f6

View file

@ -25,7 +25,7 @@
int main(int argc, char** argv)
{
if (pledge("stdio rpath wpath cpath recvfd sendfd unix", nullptr) < 0) {
if (pledge("stdio rpath recvfd sendfd unix", nullptr) < 0) {
perror("pledge");
return 1;
}
@ -39,7 +39,7 @@ int main(int argc, char** argv)
Config::pledge_domains("2048");
if (pledge("stdio rpath recvfd sendfd wpath cpath", nullptr) < 0) {
if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) {
perror("pledge");
return 1;
}