diff options
author | June McEnroe <june@causal.agency> | 2021-09-03 15:21:42 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-09-03 15:21:42 -0400 |
commit | b284dd634206d0b62940aec84ec4d214c61d4c5d (patch) | |
tree | b244815ea4f478dab53433d9e3dd9fc012200922 | |
parent | OpenBSD: Drop no longer needed unveils and pledge promises (diff) | |
download | pounce-b284dd634206d0b62940aec84ec4d214c61d4c5d.tar.gz pounce-b284dd634206d0b62940aec84ec4d214c61d4c5d.zip |
OpenBSD: Drop inet pledge when using unix socket
calico is passing us sockets it already accepted, so we don't need inet anymore.
Diffstat (limited to '')
-rw-r--r-- | bounce.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |