mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
6eda1c4eb4
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>
14 lines
359 B
Text
14 lines
359 B
Text
# Copyright 2017 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
@include /usr/share/policy/crosvm/common_device.policy
|
|
|
|
lseek: 1
|
|
madvise: 1
|
|
open: return ENOENT
|
|
openat: return ENOENT
|
|
prlimit64: 1
|
|
setrlimit: 1
|
|
sched_setscheduler: 1
|
|
prctl: arg0 == PR_SET_NAME
|