mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
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:
parent
c301122d82
commit
b1751f360e
3 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
@include /usr/share/policy/crosvm/common_device.policy
|
||||
|
||||
lseek: 1
|
||||
madvise: 1
|
||||
prlimit64: 1
|
||||
setrlimit: 1
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
@include /usr/share/policy/crosvm/common_device.policy
|
||||
|
||||
_llseek: 1
|
||||
lseek: 1
|
||||
madvise: 1
|
||||
open: return ENOENT
|
||||
openat: return ENOENT
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
@include /usr/share/policy/crosvm/common_device.policy
|
||||
|
||||
lseek: 1
|
||||
madvise: 1
|
||||
open: return ENOENT
|
||||
openat: return ENOENT
|
||||
|
|
Loading…
Reference in a new issue