readelf: Pledge map_fixed for loading ELFs

This commit is contained in:
Tim Schumacher 2023-04-11 12:32:35 +02:00 committed by Tim Flynn
parent 5ca1bd55a0
commit 605b4e96a8
Notes: sideshowbarker 2024-07-18 05:01:22 +09:00

View File

@ -207,7 +207,7 @@ static char const* object_relocation_type_to_string(ElfW(Word) type)
ErrorOr<int> 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;