seccomp: Allow lseek on cras_audio_device

The syscall is used for the file backed memory region used
by the audio device since https://crrev.com/c/3159883

BUG=b:208264646
TEST=CQ

Change-Id: I02c24da6389d60847996a62ee0eab658f9c4f7cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3307240
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Tested-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Dennis Kempin 2021-11-29 11:50:45 -08:00 committed by Commit Bot
parent c301122d82
commit b1751f360e
3 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,7 @@
@include /usr/share/policy/crosvm/common_device.policy
lseek: 1
madvise: 1
prlimit64: 1
setrlimit: 1

View file

@ -4,6 +4,8 @@
@include /usr/share/policy/crosvm/common_device.policy
_llseek: 1
lseek: 1
madvise: 1
open: return ENOENT
openat: return ENOENT

View file

@ -4,6 +4,7 @@
@include /usr/share/policy/crosvm/common_device.policy
lseek: 1
madvise: 1
open: return ENOENT
openat: return ENOENT