1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

MailSettings: Remove proc and exec from pleges

This commit is contained in:
Linus Groh 2021-08-28 11:26:32 +01:00
parent c5e5ea71d7
commit 95751987fb

View file

@ -11,14 +11,14 @@
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
if (pledge("stdio rpath cpath wpath recvfd sendfd unix proc exec", nullptr) < 0) { if (pledge("stdio rpath cpath wpath recvfd sendfd unix", nullptr) < 0) {
perror("pledge"); perror("pledge");
return 1; return 1;
} }
auto app = GUI::Application::construct(argc, argv); auto app = GUI::Application::construct(argc, argv);
if (pledge("stdio rpath cpath wpath recvfd sendfd proc exec", nullptr) < 0) { if (pledge("stdio rpath cpath wpath recvfd sendfd", nullptr) < 0) {
perror("pledge"); perror("pledge");
return 1; return 1;
} }