mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
Since CL:2999451, libcras is using timerfd features from `cros_async`, we need to add timerfd operations to the accepted list of `cras_audio_device`'s seccomp policy files. BUG=b:179757101 BUG=b:194452080 TEST=tast run ${DUT_IP} arc.Notification.vm Change-Id: I74b33fa1e304fccc95b7326e04bedc32feff85f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3047951 Auto-Submit: Chih-Yang Hsia <paulhsia@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
17 lines
431 B
Text
17 lines
431 B
Text
# Copyright 2019 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
|
|
|
|
madvise: 1
|
|
prlimit64: 1
|
|
setrlimit: 1
|
|
sched_setscheduler: 1
|
|
socketpair: arg0 == AF_UNIX
|
|
clock_gettime: 1
|
|
openat: return ENOENT
|
|
prctl: arg0 == PR_SET_NAME
|
|
timerfd_create: 1
|
|
timerfd_gettime: 1
|
|
timerfd_settime: 1
|