summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-04-11 12:32:35 +0200
committerTim Flynn <trflynn89@pm.me>2023-04-11 06:45:08 -0400
commit605b4e96a83982f62925c4f05a06717b5d13c50d (patch)
treeb0edc376e6010ff17c1e76e6bbc332b56ed5367a /Userland/Utilities
parent5ca1bd55a00590f0c19afb37f00bd8fe13288dfb (diff)
downloadserenity-605b4e96a83982f62925c4f05a06717b5d13c50d.zip
readelf: Pledge `map_fixed` for loading ELFs
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/readelf.cpp2
1 files changed, 1 insertions, 1 deletions
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<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;