mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
3ebfc9b7fe
Rename VirtioSndCras to VirtioSnd. Add null backend support for VirtioSnd. Changes: * Add backend field in virtio::snd::Parameters * Add snd_null_device.policy * Add NoopStreamSourceGenerator options in VirtioSnd BUG=b:233542268 TEST=run crosvm with virtio-snd device and call aplay Change-Id: I7fca20fd27417df3d592b1153b2dede5f2890a30 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3729264 Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
20 lines
500 B
Text
20 lines
500 B
Text
# Copyright 2021 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
|
|
|
|
open: return ENOENT
|
|
openat: return ENOENT
|
|
socket: arg0 == AF_UNIX
|
|
socketpair: arg0 == AF_UNIX
|
|
prctl: arg0 == PR_SET_NAME
|
|
connect: 1
|
|
prlimit64: 1
|
|
setrlimit: 1
|
|
sched_setscheduler: 1
|
|
timerfd_create: 1
|
|
timerfd_gettime: 1
|
|
timerfd_gettime64: 1
|
|
timerfd_settime: 1
|
|
timerfd_settime64: 1
|