mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
WebServer: Unveil /etc/timezone for reading
This commit is contained in:
parent
692c6aeeed
commit
f73eae1245
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
outln("Listening on {}:{}", ipv4_address.value(), port);
|
||||
|
||||
TRY(Core::System::unveil("/etc/timezone", "r"));
|
||||
TRY(Core::System::unveil("/res/icons", "r"));
|
||||
TRY(Core::System::unveil(real_root_path.characters(), "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue