diff options
author | 2015-10-18 03:54:22 +0000 | |
---|---|---|
committer | 2015-10-18 03:54:22 +0000 | |
commit | 3b6a07388e622de315a8a156d8fe65dd4fb6fde7 (patch) | |
tree | 4a1f701cb4c106df1cfcf4f0d788e92ef6f646ef /usr.bin/tftp/main.c | |
parent | Forcibly delete /var/run/ypbind.lock to prepare for the worst cases. (diff) | |
download | wireguard-openbsd-3b6a07388e622de315a8a156d8fe65dd4fb6fde7.tar.xz wireguard-openbsd-3b6a07388e622de315a8a156d8fe65dd4fb6fde7.zip |
Add "dns" to the pledges. Previously these worked because of "inet",
alas "dns" is now a mandatory statement if you want to do dns!
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r-- | usr.bin/tftp/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index 37ea7d565f8..eaeaefdac3e 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.37 2015/10/09 01:37:09 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.38 2015/10/18 03:54:22 deraadt Exp $ */ /* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */ /* @@ -171,7 +171,7 @@ main(int argc, char *argv[]) { f = -1; - if (pledge("stdio inet rpath wpath cpath", NULL) == -1) + if (pledge("stdio rpath wpath cpath dns inet", NULL) == -1) err(1, "pledge"); /* set default transfer mode */ |