unveil(2) "path" (/dev/audioctl0 by default, or changed via args) with rw
authormestre <mestre@openbsd.org>
Mon, 17 Sep 2018 14:14:39 +0000 (14:14 +0000)
committermestre <mestre@openbsd.org>
Mon, 17 Sep 2018 14:14:39 +0000 (14:14 +0000)
commitf77e3cc333c40d544e7a78e77fa5731bfa60bf3a
tree36cefca7e36a56ef6df8ea1dd3f20a35dac8ff96
parentaf446eb323a81d8ed7c658886175000c1583d952
unveil(2) "path" (/dev/audioctl0 by default, or changed via args) with rw
access and disable further calls to unveil(2) with unveil(NULL, NULL).

OK ratchov@
usr.bin/audioctl/audioctl.c