WebContent: Unveil /usr/lib as readable
This is required to load libsoftgpu for the WebGL demos.
This commit is contained in:
parent
ac556e2623
commit
b04cf15b3e
Notes:
sideshowbarker
2024-07-17 06:45:52 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/b04cf15b3e Pull-request: https://github.com/SerenityOS/serenity/pull/16303
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
TRY(Core::System::unveil("/sys/kernel/processes", "r"));
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
TRY(Core::System::unveil("/etc/timezone", "r"));
|
||||
TRY(Core::System::unveil("/usr/lib", "r"));
|
||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/request", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/image", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/websocket", "rw"));
|
||||
|
|
Loading…
Add table
Reference in a new issue