msm8937-common: mediacodec: Allow select and eventfd syscalls
Add pselect6 and eventfd2 syscalls Bug: 27654762 Change-Id: I9aba945e50bece5b94f4fd15e44bc84d50a41a0b
This commit is contained in:
parent
1972db5577
commit
ed9c543e46
3 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
4
seccomp/mediacodec-seccomp.policy
Normal file
4
seccomp/mediacodec-seccomp.policy
Normal file
|
@ -0,0 +1,4 @@
|
|||
# device specific syscalls.
|
||||
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
|
||||
pselect6: 1
|
||||
eventfd2: 1
|
2
seccomp/mediaextractor-seccomp.policy
Normal file
2
seccomp/mediaextractor-seccomp.policy
Normal file
|
@ -0,0 +1,2 @@
|
|||
# device specific syscalls.
|
||||
# extension of services/mediaextractor/minijail/seccomp_policy/mediaextractor-seccomp-arm.policy
|
Loading…
Reference in a new issue