From 7f394435da199e656761bf7785e42b5cb8c771d8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 12 Jul 2020 00:24:04 +0200 Subject: [PATCH] Debugger: Add some pledges required by LibLine These are a bit unfortunate. We should reorganize LibLine so it sets up the RPC server earlier, then we can drop these pledges later on. --- Applications/Debugger/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Debugger/main.cpp b/Applications/Debugger/main.cpp index 367fe89001..dc198841c8 100644 --- a/Applications/Debugger/main.cpp +++ b/Applications/Debugger/main.cpp @@ -174,7 +174,7 @@ int main(int argc, char** argv) { editor = Line::Editor::construct(); - if (pledge("stdio proc exec rpath tty sigaction", nullptr) < 0) { + if (pledge("stdio proc exec rpath tty sigaction cpath unix fattr", nullptr) < 0) { perror("pledge"); return 1; }