From 521c6dbbeea0b8468fa5ed0b9a6ed5d4edc25e5e Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Wed, 22 Jan 2020 02:13:52 -0800 Subject: [PATCH] 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. --- Servers/LookupServer/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Servers/LookupServer/main.cpp b/Servers/LookupServer/main.cpp index 24a5936f10..b9b967d650 100644 --- a/Servers/LookupServer/main.cpp +++ b/Servers/LookupServer/main.cpp @@ -46,5 +46,7 @@ int main(int argc, char** argv) return 1; } + unveil(nullptr, nullptr); + return event_loop.exec(); }