From 8c7a5ab70ff623a049591f3473f3114b73a1bd09 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 19 Nov 2015 22:01:34 +0000 Subject: how did the pledge "dns" get forgotten?!?! wow.. --- usr.bin/telnet/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/telnet/main.c b/usr.bin/telnet/main.c index e524ce3bc13..6d42c75969c 100644 --- a/usr.bin/telnet/main.c +++ b/usr.bin/telnet/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.34 2015/11/13 18:05:37 schwarze Exp $ */ +/* $OpenBSD: main.c,v 1.35 2015/11/19 22:01:33 deraadt Exp $ */ /* $NetBSD: main.c,v 1.5 1996/02/28 21:04:05 thorpej Exp $ */ /* @@ -169,7 +169,7 @@ main(int argc, char *argv[]) exit(1); } - if (pledge("stdio rpath wpath getpw inet tty", NULL) == -1) { + if (pledge("stdio rpath wpath getpw dns inet tty", NULL) == -1) { perror("pledge"); exit(1); } -- cgit v1.2.3