mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:08:11 +00:00
SystemMonitor: Unveil /usr/local/lib
This is necessary to symbolicate libraries installed under /usr/local/lib.
This commit is contained in:
parent
12e18e44ae
commit
ad33efbc8c
1 changed files with 5 additions and 0 deletions
|
@ -141,6 +141,11 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (unveil("/usr/local/lib", "r") < 0 && errno != ENOENT) {
|
||||
perror("unveil");
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (unveil("/bin/Profiler", "rx") < 0) {
|
||||
perror("unveil");
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue