1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

SystemMonitor: Unveil /usr/local/bin so symbolization works on ports

This commit is contained in:
Brian Gianforcaro 2021-08-13 01:07:49 -07:00 committed by Andreas Kling
parent ed6d842f85
commit 27111cfc6c

View file

@ -139,6 +139,11 @@ int main(int argc, char** argv)
return 1;
}
if (unveil("/usr/local/bin", "r") < 0) {
perror("unveil");
return 1;
}
if (unveil("/bin/Profiler", "rx") < 0) {
perror("unveil");
return 1;