artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0610060
)
pledge: Allow the AUDIO_GETDEV ioctl in "audio"
author
ratchov
<ratchov@openbsd.org>
Fri, 22 Mar 2024 05:54:25 +0000
(
05:54
+0000)
committer
ratchov
<ratchov@openbsd.org>
Fri, 22 Mar 2024 05:54:25 +0000
(
05:54
+0000)
ok deraadt, kn, phessler
sys/kern/kern_pledge.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_pledge.c
b/sys/kern/kern_pledge.c
index
deb2542
..
aab866f
100644
(file)
--- a/
sys/kern/kern_pledge.c
+++ b/
sys/kern/kern_pledge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_pledge.c,v 1.31
0 2023/12/12 17:43:10 deraadt
Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.31
1 2024/03/22 05:54:25 ratchov
Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-1139,6
+1139,7
@@
pledge_ioctl(struct proc *p, long com, struct file *fp)
#if NAUDIO > 0
if ((pledge & PLEDGE_AUDIO)) {
switch (com) {
+ case AUDIO_GETDEV:
case AUDIO_GETPOS:
case AUDIO_GETPAR:
case AUDIO_SETPAR: