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
commit 521c6dbbee
Notes: sideshowbarker 2024-07-19 09:54:22 +09:00

View file

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