9 Commits

Author SHA1 Message Date
hua.tian
270eab4eb8 [ALPS04649268] Save mobile log in data partition in meta mode
Add SELINUX policy for mobile_log_d to save log in /data/debuglogger
and for getting log from adb.

MTK-Commit-Id: 8775f10bd89be7ac112cbc56daf422814f0f385f

Change-Id: I39e5e1d0ccb2381ef302c187ff83a9e9cb0fa959
CR-Id: ALPS04649268
Feature: Mobile Log Tool
2020-01-18 10:14:56 +08:00
Juju Sung
12bc2025e2 [ALPS04239425] Sepolicy: fix undefined type declration
[Detail]
Unknown type:untrusted_v2_app,alarm_device,qtaguid_proc,mtd_device
Duplicated type:proc_slabinfo

MTK-Commit-Id: 11ccfcffb994452eb58a697e94a8da748ac73933

Change-Id: I2e847041d14d6b6613044cfaa98f242b7fd9381a
CR-Id: ALPS04239425
Feature: Build System
2020-01-18 10:08:05 +08:00
mtk11285
b540d0af18 [ALPS04022196] cant get aee system property by adb
[Detail] add getprop selinux rule in shell.te

MTK-Commit-Id: ec4900cd3d0b12e326d4f0b348a2135c9c01343e

Change-Id: I801b6e44817d9b607de3c31a8035bc4710d281c2
CR-Id: ALPS04022196
Feature: Android Exception Engine(AEE)
2020-01-18 10:05:17 +08:00
Oliver.Zeng
ce4f031558 [ALPS04025022] fix p user getprop
fix p user getprop

MTK-Commit-Id: 31e6971ba5019a99d43b6f2453ba18d038fbc5e2

Change-Id: Ifae930b97064a0209881be92f5536517856f99fd
CR-Id: ALPS04025022
Feature: Android Exception Engine(AEE)
2020-01-18 10:05:13 +08:00
Jonas Lai
5f6e183608 [ALPS03972288] shell.te: remove mtkcam_prop
shell.te: remove mtkcam_prop

Remove the following due to the violation:
typeattribute shell system_writes_vendor_properties_violators;
set_prop(shell, mtkcam_prop)

MTK-Commit-Id: 59d4ee65c6ca6e46a6caa246fd2f68d220b3e4e3

Change-Id: Ia434883e82f0a0432c42b00da2c8b695be6988b9
CR-Id: ALPS03972288
Feature: [Android Default] Camera Application Basic Functions
2020-01-18 10:01:15 +08:00
Lili Lin
05f5d87b88 [ALPS03881723] Workaround to fix build break
[Detail] Googles new commit
neverallow coredomain from writing vendor properties
cause build break

cdb1624c27

[Solution] Declare system_writes_vendor_properties_violators as workaround

MTK-Commit-Id: 2b19515d2d98945b0aadfbc9043352ae927497f3

Change-Id: I7be59b6811f6c75ea47da205be902417311fe1d0
CR-Id: ALPS03881723
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:56:13 +08:00
mtk11285
628e0eccb8 [ALPS03841705] AEE porting on Android P about selinux
[Detail]
1. add some rules
2. temp solution for getting ro.*.mediatek.version.branch/ ro.*.mediatek.version.release property

MTK-Commit-Id: 12c4d79a10293c4611233c985c29dca94f6e24ae

Change-Id: Ice4d565664f95a456f985ed138f302fe7ac4dbff
CR-Id: ALPS03841705
Feature: Android Exception Engine(AEE)
2020-01-18 09:50:43 +08:00
Ju-Yi Cheng
80531326ac [ALPS03869840] P migration: Remove label aosp prop
[Detail] Vendor partition shouldnt access aosp defined property
which is not in whitlist. So remove the related changes of labeled
aosp property.
  This reverts commit 9d534a80d67e7457a1411b8b36249898ed4c6986.
  This reverts commit 901fb42d2e3856a139b90420922f558d7231ea7d.
  This reverts commit 41dc8fb567b409e149e59f4f514268ca5883c7ab.

[Solution] Remove label of ro.sf.lcd_density.

MTK-Commit-Id: 02cf063b8407a9d9242f064c86767200e9c0ac0a

Change-Id: I02dcc2fa3fda95c498f0ef70d9aa6bd9224d3b02
CR-Id: ALPS03869840
Feature: [Module]SurfaceFlinger/HWComposer
2020-01-18 09:37:01 +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