From 605b4e96a83982f62925c4f05a06717b5d13c50d Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Tue, 11 Apr 2023 12:32:35 +0200 Subject: [PATCH] readelf: Pledge `map_fixed` for loading ELFs --- Userland/Utilities/readelf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Utilities/readelf.cpp b/Userland/Utilities/readelf.cpp index 5c608635d5..6ae9684cb0 100644 --- a/Userland/Utilities/readelf.cpp +++ b/Userland/Utilities/readelf.cpp @@ -207,7 +207,7 @@ static char const* object_relocation_type_to_string(ElfW(Word) type) ErrorOr serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath")); + TRY(Core::System::pledge("stdio rpath map_fixed")); DeprecatedString path {}; static bool display_all = false;