diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-03 07:01:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-03 07:01:30 +0000 |
commit | 32b70fd78e4656e73843dbfacb0f3b11265d97d6 (patch) | |
tree | 871a5260a16480d85ad939b7c376d4ac0e5add4e /usr.sbin/httpd | |
parent | f8c22f5c55d163a99419d87a7d61de6c97af5584 (diff) |
the grammar can prompt DNS lookups, so pledge "dns" also.
from Gregor Best, discussed with florian
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/httpd.c b/usr.sbin/httpd/httpd.c index 6b9b25bd7af..22575c51ad7 100644 --- a/usr.sbin/httpd/httpd.c +++ b/usr.sbin/httpd/httpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: httpd.c,v 1.51 2015/12/02 15:13:00 reyk Exp $ */ +/* $OpenBSD: httpd.c,v 1.52 2015/12/03 07:01:29 deraadt Exp $ */ /* * Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org> @@ -251,7 +251,7 @@ main(int argc, char *argv[]) setproctitle("parent"); log_procinit("parent"); - if (pledge("stdio rpath wpath cpath inet proc ioctl sendfd", + if (pledge("stdio rpath wpath cpath inet dns proc ioctl sendfd", NULL) == -1) fatal("pledge"); |