mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
SystemMonitor: Use SymbolServer to symbolicate thread stacks
This commit is contained in:
parent
b7d16e3496
commit
5dd555fe2f
3 changed files with 20 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue