Unveil only /etc/resolv.conf and /etc/resolv.conf.new not /etc/
authorkn <kn@openbsd.org>
Wed, 3 Mar 2021 09:32:11 +0000 (09:32 +0000)
committerkn <kn@openbsd.org>
Wed, 3 Mar 2021 09:32:11 +0000 (09:32 +0000)
commit4a8e8d61ba300efed7f1f952c84f7507916af19b
tree8e18b8b08fc1752bbdccd6d46c101d0d5cc97fe0
parenteb96bae376c1deeae1782dce98393e323853acfc
Unveil only /etc/resolv.conf and /etc/resolv.conf.new not /etc/

Unveiling the entire directory stems from earlier development cycles
and is by no means required now, only the two files are created,
read from and written to.

OK deraadt florian semarie
sbin/resolvd/resolvd.c