Browse Source

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.
Andreas Kling 5 years ago
parent
commit
7f394435da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Applications/Debugger/main.cpp

+ 1 - 1
Applications/Debugger/main.cpp

@@ -174,7 +174,7 @@ int main(int argc, char** argv)
 {
 {
     editor = Line::Editor::construct();
     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");
         perror("pledge");
         return 1;
         return 1;
     }
     }