mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Utilities: Pledge inet in arp command
Previously the arp command would crash when trying to set/delete from the table.
This commit is contained in:
parent
cfb61cbd54
commit
26b8155530
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio rpath tty"));
|
||||
TRY(Core::System::pledge("stdio rpath tty inet"));
|
||||
TRY(Core::System::unveil("/proc/net/arp", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue