diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-03-16 06:46:40 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-03-16 06:46:40 +0000 |
commit | 6802204ffc24b73423fa8d97d3c8eb6e17e782bb (patch) | |
tree | 320f263b3bf32beba77b46f4d0a23c4c416ebbad /sys/kern | |
parent | cb08d0ae7c091facf6183a96ecf5f06d48075c29 (diff) |
Expose new audio ioctls that do one thing only: start and stop DMA,
set and get parameters. This is much simpler.
ok semarie, armani, tweaks from jmc
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_pledge.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 9d20c7f1784..1c711883fdf 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.157 2016/03/15 15:10:09 semarie Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.158 2016/03/16 06:46:39 ratchov Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -1170,6 +1170,10 @@ pledge_ioctl(struct proc *p, long com, struct file *fp) #if NAUDIO > 0 switch (com) { case AUDIO_GETPOS: + case AUDIO_GETPAR: + case AUDIO_SETPAR: + case AUDIO_START: + case AUDIO_STOP: case AUDIO_SETINFO: case AUDIO_GETINFO: case AUDIO_GETENC: |