Commit Graph

3 Commits

Author SHA1 Message Date
Christopher R. Palmer 67114b009f 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
2017-12-08 16:34:02 +01:00
Mister Oyster 3568b30721 seccomp: add mediaextractor.policy 2017-12-08 16:26:24 +01:00
David c3832a2f62 configure seccomp_policy for android O
before this patch david@david-desktop:~/Scaricati$ adb logcat | grep mediacodec.policy
10-18 19:45:44.216 1670 1670 W /vendor/bin/hw/android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediacodec.policy'

after this patch
david@david-desktop:~/Scaricati$ adb logcat | grep mediacodec
10-18 19:48:34.338   576   576 I /vendor/bin/hw/android.hardware.media.omx@1.0-service: mediacodecservice starting

Signed-off-by: Mister Oyster <oysterized@gmail.com>
2017-12-08 16:15:18 +01:00