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:
parent
3568b30721
commit
67114b009f
|
@ -8,3 +8,5 @@ eventfd2: 1
|
||||||
sendto: 1
|
sendto: 1
|
||||||
recvfrom: 1
|
recvfrom: 1
|
||||||
getsockopt: 1
|
getsockopt: 1
|
||||||
|
# ffmpeg needs this
|
||||||
|
getdents64: 1
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
# device specific syscalls
|
# device specific syscalls
|
||||||
clock_gettime: 1
|
clock_gettime: 1
|
||||||
|
# ffmpeg needs this
|
||||||
|
nanosleep: 1
|
||||||
|
|
Loading…
Reference in New Issue