Snake: 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 14:46:35 +01:00 committed by Ali Mohammad Pur
parent 9d428a65d1
commit efe0a3d415

View file

@ -19,7 +19,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;
}
@ -28,7 +28,7 @@ int main(int argc, char** argv)
Config::pledge_domains("Snake");
if (pledge("stdio rpath wpath cpath recvfd sendfd", nullptr) < 0) {
if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) {
perror("pledge");
return 1;
}