From 26b8155530409651317a33bcb43d75b91e8f0d5d Mon Sep 17 00:00:00 2001 From: brapru Date: Tue, 5 Apr 2022 06:14:54 -0400 Subject: [PATCH] Utilities: Pledge inet in arp command Previously the arp command would crash when trying to set/delete from the table. --- Userland/Utilities/arp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Utilities/arp.cpp b/Userland/Utilities/arp.cpp index 616127ff9e..b8cd9510cc 100644 --- a/Userland/Utilities/arp.cpp +++ b/Userland/Utilities/arp.cpp @@ -25,7 +25,7 @@ ErrorOr 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));