TextEditor: Pledge "unix" so we can load images in Markdown preview

We should think a bit more about how we want preview content to
interact with the outside world, but for now let's just make it run.
This commit is contained in:
Andreas Kling 2020-04-30 12:32:41 +02:00
parent e8a5c10382
commit 6c0fed3866
Notes: sideshowbarker 2024-07-19 07:09:24 +09:00

View file

@ -37,7 +37,7 @@ int main(int argc, char** argv)
GUI::Application app(argc, argv);
if (pledge("stdio thread rpath accept cpath wpath shared_buffer", nullptr) < 0) {
if (pledge("stdio thread rpath accept cpath wpath shared_buffer unix", nullptr) < 0) {
perror("pledge");
return 1;
}