From 561b67a1add82538502ef2f5733f1d86718898ad Mon Sep 17 00:00:00 2001 From: Rummskartoffel Date: Tue, 28 Dec 2021 01:00:16 +0100 Subject: [PATCH] Help: Fix crash when trying to load libunicodedata.so --- Userland/Applications/Help/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Applications/Help/main.cpp b/Userland/Applications/Help/main.cpp index afebffbfd3..be5574d708 100644 --- a/Userland/Applications/Help/main.cpp +++ b/Userland/Applications/Help/main.cpp @@ -36,13 +36,14 @@ ErrorOr serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio recvfd sendfd rpath unix")); + TRY(Core::System::pledge("stdio recvfd sendfd rpath unix prot_exec")); auto app = TRY(GUI::Application::try_create(arguments)); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/usr/share/man", "r")); TRY(Core::System::unveil("/tmp/portal/launch", "rw")); TRY(Core::System::unveil("/tmp/portal/webcontent", "rw")); + TRY(Core::System::unveil("/usr/lib/libunicodedata.so.serenity", "r")); TRY(Core::System::unveil(nullptr, nullptr)); char const* start_page = nullptr;