7 Commits

Author SHA1 Message Date
Aayush Gupta
22380a4614 non_plat: Label /dev/tee* and grant required perms to domains
/dev/tee* are accessed by domains that interact with TEE and thus
require access to them too.

Test: Boot and observe that denials are not visible in logs anymore

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I7b0944a1063da8561d2928e4110674ce4845ecea
2020-12-30 17:00:34 +05:30
mtk12101
6d20aad659 [ALPS04737987] Move clearkey and widevine sepolicy to basic repo
Basic project which need clearkey and widevine will fail to
launch clearkey and widevine process, so we need move clearkey
and widevine related sepolicy to basic repo

MTK-Commit-Id: 889fb14b0d049c0fb53e1f2a45b43a1ba6700f9f

Change-Id: I7b9154b9dcee05be01a2d5f1c7a5f8d365ce4da6
CR-Id: ALPS04737987
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:18:46 +08:00
mtk12101
54917c1838 [ALPS04080007] Remove sepolicy rules for new Android P device
1.move-widevine-data.sh is for OTA upgrading from android O
to P, new android P device dont need this rules
2.Google cts/gts/vts will check data_between_core_and_vendor_violators,
add the rule on P device, the test case will fail

MTK-Commit-Id: d4e56774e28b4a5efab572c9c8b25e134988244b

Change-Id: I04c0233ea6cc1dff9b3fdd35441f95605519b454
CR-Id: ALPS04080007
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:06:44 +08:00
Jackie Lin
f7a9b8d445 [ALPS03837408] Allow widevine hidl process access persist file
Allow widevine hidl process access keybox file which is stored
at /mnt/vendor/persist

MTK-Commit-Id: 2fd7b3e72d678b5f1916fe873965dfb044c2b14c

Change-Id: I8e5689010f23dbf8fa94acb4b8161cd8e4194196
CR-Id: ALPS03837408
Feature: Secure Video Path (SVP)
2020-01-18 10:05:34 +08:00
Jackie Lin
9aba419353 [ALPS03916902] Add hidl 1.1 clearkey to pass vts
Google add hidl 1.1 clearkey implementation on Android P, and legacy
 clearkey still exist on AOSP, on the new version 4778823 vts, it will
 check both legacy and hidl clearkey funtions. So it need add to support
 both types clearkey implementation to pass new vts on Android P.

MTK-Commit-Id: 229c445c3da9c4300c2586b9888a3205fe824484

Change-Id: I5488b591fc55526c7c6ae1c2516dc851ae4deb24
CR-Id: ALPS03916902
Feature: Google Widevine Level3
(cherry picked from commit c28dee0c4ab1cd7c6327f073ec9229e18b1166d3)
2020-01-18 10:01:00 +08:00
Jackie Lin
6cfb419058 [ALPS03916010] Upgrade to drm hidl 1.1
Google has upgraded drm hidl to version 1.1, need upgrade
 all config(device.mk, sepolicy, manifest) to new version.

MTK-Commit-Id: 50b87ab9d8654c2ea1bea22fa9a589fd85481324

Change-Id: I9a36ad250153bcbb446b790bae5942965409fab3
CR-Id: ALPS03916010
Feature: Google Widevine Level1
2020-01-18 09:49:47 +08:00
Chunyan Zhang
37e0caa36e import from mediatek/master to mediatek/alps-mp-o1.mp1
Change-Id: Ic78db8195c5c51f85c9c6fd3ef8333489afd6e79
MTK-Commit-Id: 848bf57127be9d01fd1df4aab95737855456afee
2020-01-18 09:29:32 +08:00