Skip to content

Commit

Permalink
sunfish: Add seccomp policy for Codec2 process
Browse files Browse the repository at this point in the history
Add seccomp policy for Codec2 process.

Bug: 149511958
Test: adb shell killall media.hwcodec
Change-Id: I5ffe82e527008cd595988308588ed0aa7ae84abb
  • Loading branch information
wenchangliu committed Apr 6, 2020
1 parent 53d441d commit 0bbabe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
5 changes: 3 additions & 2 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
libqcodec2 \
[email protected] \
media_codecs_c2.xml
media_codecs_c2.xml \
codec2.vendor.ext.policy \
codec2.vendor.base.policy

PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.omx_default_rank=512
Expand Down Expand Up @@ -621,7 +623,6 @@ PRODUCT_COPY_FILES += \

# Vendor seccomp policy files for media components:
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/seccomp_policy/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy \
$(LOCAL_PATH)/seccomp_policy/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy

PRODUCT_PROPERTY_OVERRIDES += \
Expand Down
9 changes: 0 additions & 9 deletions seccomp_policy/codec2.vendor.ext.policy

This file was deleted.

0 comments on commit 0bbabe4

Please sign in to comment.