mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
msm8976-common: mediacodec: Allow select and eventfd syscalls for 8976
Add pselect6 and eventfd2 syscalls Includes following: mediacodec: allow sendto and recvfrom syscalls mediacodec: allow lseek syscall mediaextractor: allow pread64 and readlinkat syscalls Change-Id: Iff6e2f7fc0562a520f56cbf4bbce72f1af545f9c
This commit is contained in:
parent
90b1ed66c9
commit
f4440a00e8
3 changed files with 16 additions and 0 deletions
|
@ -244,6 +244,11 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
android.hardware.renderscript@1.0-impl
|
||||
|
||||
# Seccomp
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:system/vendor/etc/seccomp_policy/mediacodec.policy \
|
||||
$(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:system/vendor/etc/seccomp_policy/mediaextractor.policy
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-impl
|
||||
|
|
7
seccomp/mediacodec-seccomp.policy
Normal file
7
seccomp/mediacodec-seccomp.policy
Normal file
|
@ -0,0 +1,7 @@
|
|||
# device specific syscalls
|
||||
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
|
||||
pselect6: 1
|
||||
eventfd2: 1
|
||||
sendto: 1
|
||||
recvfrom: 1
|
||||
_llseek: 1
|
4
seccomp/mediaextractor-seccomp.policy
Normal file
4
seccomp/mediaextractor-seccomp.policy
Normal file
|
@ -0,0 +1,4 @@
|
|||
# device specific syscalls.
|
||||
# extension of services/mediaextractor/minijail/seccomp_policy/mediaextractor-seccomp-arm.policy
|
||||
readlinkat: 1
|
||||
pread64: 1
|
Loading…
Reference in a new issue