msm8937-common: mediacodec: Allow select and eventfd syscalls

Add pselect6 and eventfd2 syscalls

Bug: 27654762

Change-Id: I9aba945e50bece5b94f4fd15e44bc84d50a41a0b
This commit is contained in:
Praveen Chavan 2016-03-21 09:37:14 -07:00 committed by Isaac Chen
parent 1972db5577
commit ed9c543e46
3 changed files with 11 additions and 0 deletions

View file

@ -20,3 +20,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
vendor.vidc.enc.disable_bframes=1 \
vidc.enc.narrow.searchrange=1 \
vidc.disable.split.mode=1
# Seccomp policy
PRODUCT_COPY_FILES += \
$(VENDOR_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
$(VENDOR_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy

View file

@ -0,0 +1,4 @@
# device specific syscalls.
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
pselect6: 1
eventfd2: 1

View file

@ -0,0 +1,2 @@
# device specific syscalls.
# extension of services/mediaextractor/minijail/seccomp_policy/mediaextractor-seccomp-arm.policy