From: Stricted Date: Mon, 1 Oct 2018 08:18:17 +0000 (+0200) Subject: universal8895: copy seccomp filter to vendor X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d7ea568aa304de5208d89a560840dac5dd10a03;p=GitHub%2Fexynos8895%2Fandroid_device_samsung_universal8895-common.git universal8895: copy seccomp filter to vendor W /vendor/bin/hw/android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediacodec.policy' Change-Id: Ica3c4105f67eb2ccc8af7554535beac66d7b2a65 --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index fd549ff..15fa1bf 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -94,9 +94,6 @@ BACKLIGHT_PATH := "/sys/class/backlight/panel/brightness" # Recovery TARGET_RECOVERY_FSTAB := $(LOCAL_PATH)/ramdisk/etc/fstab.samsungexynos8895 -# Seccomp filters -BOARD_SECCOMP_POLICY += $(LOCAL_PATH)/seccomp - # Wifi TARGET_USES_64_BIT_BCMDHD := true BOARD_WLAN_DEVICE := bcmdhd diff --git a/device-common.mk b/device-common.mk index 77a9527..b1c62d3 100644 --- a/device-common.mk +++ b/device-common.mk @@ -126,6 +126,11 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ SamsungDoze +# Seccomp filters +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy \ + $(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy + # TextClassifier PRODUCT_PACKAGES += \ textclassifier.bundle1