mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +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:
parent
dc719f3b61
commit
7f394435da
Notes:
sideshowbarker
2024-07-19 04:54:43 +09:00
Author: https://github.com/awesomekling
Commit: 7f394435da
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue