seccomp: Fix policy for ffmpeg

Without this, a bunch of cts tests fail.  For example:

android.media.cts.AdaptivePlaybackTest#testMpeg4_adaptiveDrc

fails with the log message:

E/media.codec( 8194): libminijail: blocked syscall: getdents64

and

android.security.cts.StagefrightTest#testStagefright_bug_25765591

fails because of a blocked call to nanosleep.

Change-Id: Iba99163c86e2941a8e821136188ddb3cf4d34a5c
This commit is contained in:
Christopher R. Palmer 2017-05-01 06:28:26 -04:00 committed by Mister Oyster
parent 3568b30721
commit 67114b009f
2 changed files with 4 additions and 0 deletions

View File

@ -8,3 +8,5 @@ eventfd2: 1
sendto: 1
recvfrom: 1
getsockopt: 1
# ffmpeg needs this
getdents64: 1

View File

@ -1,2 +1,4 @@
# device specific syscalls
clock_gettime: 1
# ffmpeg needs this
nanosleep: 1