mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 10:10:41 +00:00
audio: Add lseek in null_audio_device policy
This commit will fix crosvm crashes when playing audio with ac97 device and null backend BUG=b:233960497 TEST=run aplay -Dhw:0,0 -d 3 -f dat /dev/urandom inside a VM Change-Id: Ic24853f308d92b2e5831d112f432f72f6fedd73c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3670934 Commit-Queue: Norman Bintang <normanbt@chromium.org> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
aa2e59d82f
commit
6eda1c4eb4
3 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
@include /usr/share/policy/crosvm/common_device.policy
|
||||
|
||||
lseek: 1
|
||||
madvise: 1
|
||||
prlimit64: 1
|
||||
setrlimit: 1
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
@include /usr/share/policy/crosvm/common_device.policy
|
||||
|
||||
_llseek: 1
|
||||
madvise: 1
|
||||
open: return ENOENT
|
||||
openat: return ENOENT
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
@include /usr/share/policy/crosvm/common_device.policy
|
||||
|
||||
lseek: 1
|
||||
madvise: 1
|
||||
open: return ENOENT
|
||||
openat: return ENOENT
|
||||
|
|
Loading…
Reference in a new issue