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
Notes: sideshowbarker 2024-07-18 05:09:48 +09:00

View File

@ -11,14 +11,14 @@
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");
return 1;
}
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");
return 1;
}