Use unveil(2) in the helper process to disallow access to other files
authorratchov <ratchov@openbsd.org>
Wed, 8 Aug 2018 22:31:43 +0000 (22:31 +0000)
committerratchov <ratchov@openbsd.org>
Wed, 8 Aug 2018 22:31:43 +0000 (22:31 +0000)
commitd3baeec17d7619563a55a1d1c11234af0e3110ba
treea594c2ad9aeae425617ffcd21d102e5fdf581184
parent48bd625b7704d14c9ebaf3592e2fc53f591ffd27
Use unveil(2) in the helper process to disallow access to other files
than the devices specified with -f and -q options.

ok deraadt@
usr.bin/sndiod/sndiod.c