From b284dd634206d0b62940aec84ec4d214c61d4c5d Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 3 Sep 2021 15:21:42 -0400 Subject: OpenBSD: Drop inet pledge when using unix socket calico is passing us sockets it already accepted, so we don't need inet anymore. --- bounce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bounce.c b/bounce.c index 49ac1f2..3976836 100644 --- a/bounce.c +++ b/bounce.c @@ -418,7 +418,7 @@ int main(int argc, char *argv[]) { #ifdef __OpenBSD__ if (bindPath[0]) { - error = pledge("stdio rpath inet cpath unix recvfd", NULL); + error = pledge("stdio rpath cpath unix recvfd", NULL); } else { error = pledge("stdio rpath inet", NULL); } -- cgit 1.4.1