mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
SystemMonitor: Use SymbolServer to symbolicate thread stacks
This commit is contained in:
@@ -112,7 +112,7 @@ int main(int argc, char** argv)
|
||||
|
||||
auto app = GUI::Application::construct(argc, argv);
|
||||
|
||||
if (pledge("stdio proc recvfd sendfd accept rpath exec", nullptr) < 0) {
|
||||
if (pledge("stdio proc recvfd sendfd accept rpath exec unix", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
@@ -137,6 +137,11 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (unveil("/tmp/portal/symbol", "rw") < 0) {
|
||||
perror("unveil");
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (unveil("/bin", "r") < 0) {
|
||||
perror("unveil");
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user