mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
LookupServer: Lock unveil() after initialization.
Once LookupServer is initialized it should never need access to any any paths for the lifetime of the process. Lock the veil post initialization.
This commit is contained in:
parent
50f9d27d3b
commit
521c6dbbee
1 changed files with 2 additions and 0 deletions
|
@ -46,5 +46,7 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
unveil(nullptr, nullptr);
|
||||
|
||||
return event_loop.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue