diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-04-11 12:32:35 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-04-11 06:45:08 -0400 |
commit | 605b4e96a83982f62925c4f05a06717b5d13c50d (patch) | |
tree | b0edc376e6010ff17c1e76e6bbc332b56ed5367a | |
parent | 5ca1bd55a00590f0c19afb37f00bd8fe13288dfb (diff) | |
download | serenity-605b4e96a83982f62925c4f05a06717b5d13c50d.zip |
readelf: Pledge `map_fixed` for loading ELFs
-rw-r--r-- | Userland/Utilities/readelf.cpp | 2 |
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; |