diff options
author | 2016-02-11 16:30:35 +0000 | |
---|---|---|
committer | 2016-02-11 16:30:35 +0000 | |
commit | edb9bfb9ca792dc8ffa3ff5dcd76aa8c1e886d0a (patch) | |
tree | f727406430972a0e2aebc8a602cdf64be82ef728 /lib/libc | |
parent | Don't pass QoS "no data" frames to the A-MPDU reordering logic. Such frames (diff) | |
download | wireguard-openbsd-edb9bfb9ca792dc8ffa3ff5dcd76aa8c1e886d0a.tar.xz wireguard-openbsd-edb9bfb9ca792dc8ffa3ff5dcd76aa8c1e886d0a.zip |
Document how to use sndio in pledged programs.
Input and OK jmc@ ratchov@ semarie@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/pledge.2 | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2 index ee2c62feb64..f2ea4dbb2a2 100644 --- a/lib/libc/sys/pledge.2 +++ b/lib/libc/sys/pledge.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pledge.2,v 1.24 2016/01/18 23:29:37 deraadt Exp $ +.\" $OpenBSD: pledge.2,v 1.25 2016/02/11 16:30:35 tim Exp $ .\" .\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 18 2016 $ +.Dd $Mdocdate: February 11 2016 $ .Dt PLEDGE 2 .Os .Sh NAME @@ -503,6 +503,24 @@ device: .Dv DIOCRSETADDRS , .Dv DIOCXBEGIN , .Dv DIOCXCOMMIT . +.It Va "audio" +Allows a subset of +.Xr ioctl 2 +operations on +.Xr audio 4 +devices: +.Pp +.Dv AUDIO_GETPOS , +.Dv AUDIO_SETINFO , +.Dv AUDIO_GETINFO , +.Dv AUDIO_GETENC , +.Dv AUDIO_SETFD , +.Dv AUDIO_GETPROPS . +.Pp +See +.Xr sio_open 3 +for more information on using the sndio API in combination with +.Fn pledge . .El .Pp A whitelist of permitted paths may be provided in |