|
@@ -211,14 +211,14 @@ private:
|
|
|
|
|
|
int main(int argc, char** argv)
|
|
|
{
|
|
|
- if (pledge("stdio sendfd shared_buffer accept rpath unix cpath fattr", nullptr) < 0) {
|
|
|
+ if (pledge("stdio recvfd sendfd accept rpath unix cpath fattr", nullptr) < 0) {
|
|
|
perror("pledge");
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
auto app = GUI::Application::construct(argc, argv);
|
|
|
|
|
|
- if (pledge("stdio sendfd shared_buffer accept rpath unix", nullptr) < 0) {
|
|
|
+ if (pledge("stdio recvfd sendfd accept rpath unix", nullptr) < 0) {
|
|
|
perror("pledge");
|
|
|
return 1;
|
|
|
}
|
|
@@ -239,7 +239,7 @@ int main(int argc, char** argv)
|
|
|
|
|
|
unveil(nullptr, nullptr);
|
|
|
|
|
|
- if (pledge("stdio sendfd shared_buffer accept rpath", nullptr) < 0) {
|
|
|
+ if (pledge("stdio recvfd sendfd accept rpath", nullptr) < 0) {
|
|
|
perror("pledge");
|
|
|
return 1;
|
|
|
}
|