summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/host.cpp2
-rw-r--r--Userland/Utilities/ntpquery.cpp4
-rw-r--r--Userland/Utilities/ping.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Utilities/host.cpp b/Userland/Utilities/host.cpp
index d77054b868..e3908472b4 100644
--- a/Userland/Utilities/host.cpp
+++ b/Userland/Utilities/host.cpp
@@ -34,7 +34,7 @@
int main(int argc, char** argv)
{
- if (pledge("stdio dns", nullptr) < 0) {
+ if (pledge("stdio unix", nullptr) < 0) {
perror("pledge");
return 1;
}
diff --git a/Userland/Utilities/ntpquery.cpp b/Userland/Utilities/ntpquery.cpp
index 017a6c0235..07003b4f38 100644
--- a/Userland/Utilities/ntpquery.cpp
+++ b/Userland/Utilities/ntpquery.cpp
@@ -111,7 +111,7 @@ static String format_ntp_timestamp(NtpTimestamp ntp_timestamp)
int main(int argc, char** argv)
{
#ifdef __serenity__
- if (pledge("stdio inet dns settime", nullptr) < 0) {
+ if (pledge("stdio inet unix settime", nullptr) < 0) {
perror("pledge");
return 1;
}
@@ -145,7 +145,7 @@ int main(int argc, char** argv)
#ifdef __serenity__
if (!adjust_time && !set_time) {
- if (pledge("stdio inet dns", nullptr) < 0) {
+ if (pledge("stdio inet unix", nullptr) < 0) {
perror("pledge");
return 1;
}
diff --git a/Userland/Utilities/ping.cpp b/Userland/Utilities/ping.cpp
index a960c73dc5..ab398f42d9 100644
--- a/Userland/Utilities/ping.cpp
+++ b/Userland/Utilities/ping.cpp
@@ -61,7 +61,7 @@ static const char* host;
int main(int argc, char** argv)
{
- if (pledge("stdio id inet dns sigaction", nullptr) < 0) {
+ if (pledge("stdio id inet unix sigaction", nullptr) < 0) {
perror("pledge");
return 1;
}
@@ -81,7 +81,7 @@ int main(int argc, char** argv)
return 1;
}
- if (pledge("stdio inet dns sigaction", nullptr) < 0) {
+ if (pledge("stdio inet unix sigaction", nullptr) < 0) {
perror("pledge");
return 1;
}