1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00

hexdump: Pledge stdio and rpath

This commit is contained in:
Eli Youngs 2022-10-17 23:29:43 -07:00 committed by Sam Atkins
parent 93238edf8f
commit ae68def54b

View file

@ -7,6 +7,7 @@
#include <AK/Array.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/File.h>
#include <LibCore/System.h>
#include <LibMain/Main.h>
#include <ctype.h>
#include <string.h>
@ -21,6 +22,8 @@ enum class State {
ErrorOr<int> serenity_main(Main::Arguments args)
{
TRY(Core::System::pledge("stdio rpath"));
Core::ArgsParser args_parser;
char const* path = nullptr;
bool verbose = false;