1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

Spreadsheet: Pledge 'fattr' to avoid crashing after exporting as csv

This commit is contained in:
stelar7 2021-06-16 12:52:55 +02:00 committed by Ali Mohammad Pur
parent ac6a3d068d
commit 22851287b1

View file

@ -22,18 +22,13 @@
int main(int argc, char* argv[])
{
if (pledge("stdio recvfd sendfd rpath unix cpath wpath thread", nullptr) < 0) {
if (pledge("stdio recvfd sendfd rpath fattr unix cpath wpath thread", nullptr) < 0) {
perror("pledge");
return 1;
}
auto app = GUI::Application::construct(argc, argv);
if (pledge("stdio recvfd sendfd thread rpath cpath wpath unix", nullptr) < 0) {
perror("pledge");
return 1;
}
const char* filename = nullptr;
Core::ArgsParser args_parser;