diff options
| author | 2019-12-16 17:32:39 +0000 | |
|---|---|---|
| committer | 2019-12-16 17:32:39 +0000 | |
| commit | 006106d0ce41c244d13b8c53a8ce9829d272eb40 (patch) | |
| tree | 22747c23c03ab238d4d6c79bf4fae91b57f37d85 /usr.sbin/bind/bin/dig/dig.c | |
| parent | don't pick up libjson, it also adds /usr/local/include to header search path (diff) | |
| download | wireguard-openbsd-006106d0ce41c244d13b8c53a8ce9829d272eb40.tar.xz wireguard-openbsd-006106d0ce41c244d13b8c53a8ce9829d272eb40.zip | |
pledge +inet until the try_proto() garbage is neutered
Diffstat (limited to 'usr.sbin/bind/bin/dig/dig.c')
| -rw-r--r-- | usr.sbin/bind/bin/dig/dig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bind/bin/dig/dig.c b/usr.sbin/bind/bin/dig/dig.c index 899233fef42..950ca635a77 100644 --- a/usr.sbin/bind/bin/dig/dig.c +++ b/usr.sbin/bind/bin/dig/dig.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.18 2019/12/16 16:16:23 deraadt Exp $ */ +/* $Id: dig.c,v 1.19 2019/12/16 17:32:39 deraadt Exp $ */ /*! \file */ @@ -2091,7 +2091,7 @@ main(int argc, char **argv) { ISC_LIST_INIT(server_list); ISC_LIST_INIT(search_list); - if (pledge("stdio rpath dns", NULL) == -1) { + if (pledge("stdio rpath inet dns", NULL) == -1) { perror("pledge"); exit(1); } @@ -2104,7 +2104,7 @@ main(int argc, char **argv) { setup_libs(); parse_args(ISC_FALSE, ISC_FALSE, argc, argv); - if (pledge("stdio dns", NULL) == -1) { + if (pledge("stdio inet dns", NULL) == -1) { perror("pledge"); exit(1); } |
