1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:58:10 +00:00

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.
This commit is contained in:
Andreas Kling 2020-07-12 00:24:04 +02:00
parent dc719f3b61
commit 7f394435da

View file

@ -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;
}