bo.shang
c6f62897b6
[ALPS04721702] Save log into data partition
...
1. Add SELinux permission
MTK-Commit-Id: 49d711749e59016b1e46233c4569c9d22d957f3d
Change-Id: If172698697fa5005f4548328665ea6c4739315c8
CR-Id: ALPS04721702
Feature: Modem Log Tool
2020-01-18 10:18:19 +08:00
Guoyi Qu
94cabcd4f5
[ALPS04133950] add permission
...
avc: denied { open } for path="/system/etc/mddb"
dev="mmcblk0p21" ino=1029 scontext=u:r:mdlogger:s0
tcontext=u:object_r:system_file:s0 tclass=dir
permissive=0
add permission to read mddb
MTK-Commit-Id: 3e9607846f1253d1b5954a87125a425c324ae9c9
Change-Id: I08af47987d5fe34c55e9a8898d1e28d258f42619
CR-Id: ALPS04133950
Feature: Modem Log Tool
(cherry picked from commit 3e530fdd82f6ef96dee44e56e58fa12a3117353a)
2020-01-18 10:07:39 +08:00
mtk12101
722798a334
[ALPS03982747] Remove unused sepolicy rules
...
Some rules is no need any more, need to remove it.
MTK-Commit-Id: 49685f1299d990a7195a2d54b955517d8f2cc699
Change-Id: I4a590ad781589cf94989ce72c88751ac10b82eae
CR-Id: ALPS03982747
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:02:25 +08:00
bo.shang
da4b44cc8b
[ALPS03966863] Relabel log vendor property
...
modify netlog, mdlog and mtklogger selinux file
MTK-Commit-Id: 9f11854e582d88eba22388a2ffc59a41da906898
Change-Id: I5b782c80ae2df464cb574f9733757687e374402d
CR-Id: ALPS03966863
Feature: Network Log Tool
2020-01-18 10:00:20 +08:00
Lili Lin
b2a7714479
Merge "[ALPS03881723] Workaround to fix build break" into alps-trunk-p0.basic
...
Change-Id: Id481d8251583392004084ea3968afe7145293cc4
MTK-Commit-Id: b495c47d6585c9d8aa2689a7172ba5792c0c7c94
2020-01-18 09:56:18 +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
bo.shang
276c0764fc
[ALPS03943443] Modem Log start USB logging fail
...
Fix SELinux errors:
1. Set vendor property
2. Set USB property
[Solution] Add permission
MTK-Commit-Id: f9bea7ca32b8ca70e6f015d786753a43491810aa
Change-Id: I3e7cfc80eb34c3430a059b57afa1474ee49e75b1
CR-Id: ALPS03943443
Feature: Modem Log Tool
2020-01-18 09:55:57 +08:00
Peter Wang
8183941448
[ALPS03901606] eMMC&UFS : Combo feature
...
[Detail]
1. Change type name from sysfs_boot to sysfs_boot_mode
2. Add type name sysfs_boot_type
MTK-Commit-Id: 54d5bb31fc8ad1d9ac2e931fe5dc01ef4c1083cf
Change-Id: I445ecdf5a5e334a49ccc1d747daa87f6be351d20
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
CR-Id: ALPS03901606
Feature: UFS Booting
2020-01-18 09:52:26 +08:00
bo.shang
933f54b148
[ALPS03879689] mdlogger SELinux error
...
[Solution] Fix boot mode selinux error
MTK-Commit-Id: 561f4064456c585ee83e66fc863065d77f256ff8
Change-Id: Id272b61b7e2fc462726770ccde9bd31c1725ce9e
CR-Id: ALPS03879689
Feature: C2K Modem Log Tool
2020-01-18 09:34:33 +08:00
Bo Ye
3ace839be3
[ALPS03825066] Mark file context to fix build fails
...
Restore the policies accessing files labeled
as proc_xxx or sysfs_xxx, but there are some
exceptions for coredomain process, such as
meta_tst,dump_state,kpoc_charger
MTK-Commit-Id: 7953b5203bb3cac099c3326d330643b4cd73746d
Change-Id: I4b16c09c352891783e837bea370c264966ca6d13
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:29:41 +08:00
Bo Ye
5849c224e3
[ALPS03825066] P migration selinux build failed fix
...
1. Mark polices which accessing proc/sysfs file system
2. Add violator attribute to modules violate vendor/system rule.
MTK-Commit-Id: 3954cad7a1428cda694d8428c2235a78aa6e7cc8
Change-Id: I401ae5b87eb9a03f324bef83c6678149606b15a8
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:29:36 +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