mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Spreadsheet: Pledge 'fattr' to avoid crashing after exporting as csv
This commit is contained in:
parent
ac6a3d068d
commit
22851287b1
Notes:
sideshowbarker
2024-07-18 12:07:50 +09:00
Author: https://github.com/stelar7
Commit: 22851287b1
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue