mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
RequestServer: Unveil /etc/timezone for date-time usage
This commit is contained in:
parent
fc2c2c8a6d
commit
9684ae460c
Notes:
sideshowbarker
2024-07-17 20:22:01 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/9684ae460c5 Pull-request: https://github.com/SerenityOS/serenity/pull/12093 Reviewed-by: https://github.com/linusg
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…
Reference in a new issue