1
Fork 0
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:
Brian Gianforcaro 2020-01-22 02:13:52 -08:00 committed by Andreas Kling
parent 50f9d27d3b
commit 521c6dbbee

View file

@ -46,5 +46,7 @@ int main(int argc, char** argv)
return 1;
}
unveil(nullptr, nullptr);
return event_loop.exec();
}