mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
RequestServer: Unveil /etc/timezone for date-time usage
This commit is contained in:
parent
fc2c2c8a6d
commit
9684ae460c
1 changed files with 1 additions and 1 deletions
|
@ -25,11 +25,11 @@ ErrorOr<int> 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<RequestServer::GeminiProtocol>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue