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:
parent
93238edf8f
commit
ae68def54b
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue