seccomp: Add timerfd_* to cras_snd_device.policy

Following CL:3047951 for cras_audio_device.
Without these, the device would crash under crostini.

BUG=b:198730031
TEST=tast run $DUT_IP crostini.PulseAudioBasic.*

Change-Id: I87a60b87461ff10594ebe7643a631630eabc94ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3213791
Auto-Submit: Woody Chow <woodychow@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Commit-Queue: Woody Chow <woodychow@google.com>
This commit is contained in:
Woody Chow 2021-10-08 13:50:11 +09:00 committed by Commit Bot
parent 0024533253
commit 0c9c4baa7f
3 changed files with 11 additions and 0 deletions

View file

@ -12,3 +12,6 @@ connect: 1
prlimit64: 1
setrlimit: 1
sched_setscheduler: 1
timerfd_create: 1
timerfd_gettime: 1
timerfd_settime: 1

View file

@ -13,3 +13,8 @@ connect: 1
prlimit64: 1
setrlimit: 1
sched_setscheduler: 1
timerfd_create: 1
timerfd_gettime: 1
timerfd_gettime64: 1
timerfd_settime: 1
timerfd_settime64: 1

View file

@ -13,3 +13,6 @@ connect: 1
prlimit64: 1
setrlimit: 1
sched_setscheduler: 1
timerfd_create: 1
timerfd_gettime: 1
timerfd_settime: 1