From 6c0fed38666fec80f21d5c39f0adb609eae991ba Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 30 Apr 2020 12:32:41 +0200 Subject: [PATCH] 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. --- Applications/TextEditor/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/TextEditor/main.cpp b/Applications/TextEditor/main.cpp index 23d67ae586..3b3bf8d59b 100644 --- a/Applications/TextEditor/main.cpp +++ b/Applications/TextEditor/main.cpp @@ -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; }