From 9684ae460c550990606b34be357b7f5bdd5e4abd Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 23 Jan 2022 12:01:59 -0500 Subject: [PATCH] RequestServer: Unveil /etc/timezone for date-time usage --- Userland/Services/RequestServer/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Services/RequestServer/main.cpp b/Userland/Services/RequestServer/main.cpp index a7c3efca4c..c9b1884b63 100644 --- a/Userland/Services/RequestServer/main.cpp +++ b/Userland/Services/RequestServer/main.cpp @@ -25,11 +25,11 @@ ErrorOr serenity_main(Main::Arguments) // Ensure the certificates are read out here. [[maybe_unused]] auto& certs = DefaultRootCACertificates::the(); - TRY(Core::System::pledge("stdio inet accept unix sendfd recvfd")); Core::EventLoop event_loop; // FIXME: Establish a connection to LookupServer and then drop "unix"? TRY(Core::System::unveil("/tmp/portal/lookup", "rw")); + TRY(Core::System::unveil("/etc/timezone", "r")); TRY(Core::System::unveil(nullptr, nullptr)); [[maybe_unused]] auto gemini = make();