8 Commits

Author SHA1 Message Date
Jimmy-YJ.Huang
14449e3c46 [ALPS03737981] FPSGO: merged_hal add permission
[Detail] merged_hal dont have fpsgo permission

[Solution] add permission

MTK-Commit-Id: e56babb07b17c48feab6839933472c5712c04a41

Change-Id: Ib8e69d0b44ea0605dece72c51afa01bc58f38717
CR-Id: ALPS03737981
Feature: System Performance
2020-01-18 09:44:54 +08:00
mtk12101
b46f5159b8 [ALPS03825066] Fix build error
[Detail]
1.Google neverallow to modify the /proc and /sys folder
2.vendor & system process can not access each file

[Solution]
1.Change the type of sysfs_file to common file
2.Mark the rules which violate the neverallow rules

MTK-Commit-Id: 326790e7af9c782f3dace5c667b4b07860370933

Change-Id: Ifa61d2561078d3b6cde612806607d35d6cfdc4d6
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:33:28 +08:00
Jimmy-YJ Huang
5602864cb5 Merge "[ALPS03737981] power: prepare Hal version." into alps-trunk-p0.basic
Change-Id: I4b4abe6b727b7e92b480eee46fce9e6219f6ab73
MTK-Commit-Id: 0271da96341ac128874dc027fe57b2cec5dfca8e
2020-01-18 09:32:17 +08:00
Jimmy-YJ.Huang
d28ccc99bd [ALPS03737981] power: prepare Hal version.
[Detail]
prepare HAL version 2.0

MTK-Commit-Id: fa6c01053653fcc337a336c1da19c07db7a69486

Change-Id: I0da57902ef3fb8e7e9eadba892e57cc322025bc9
CR-Id: ALPS03737981
Feature: System Performance
2020-01-18 09:32:08 +08:00
henry huang
9764053433 [ALPS03841839] fix nvram SELinux violations
[Detail]fix nvram selinux violations

[Solution]remove system_data_file sepolicy from nvram_daemon.te/nvram_agent_binder.te

MTK-Commit-Id: 4a9272ef13c590133649ca46d962f14768a216ef

Change-Id: I473edae03de50c6d747477e34e6eb797b7b1875e
CR-Id: ALPS03841839
Feature: NVRAM Partition
2020-01-18 09:30:59 +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
mtk12101
bbecfaa68b [ALPS03825066] Resolve vendor violates
[Detail] Google add new neverallows rules on android P,
some rule violate the rules

[Solution] Remove the rules which violate google new rules

MTK-Commit-Id: ff683b4eee0a6dd95ff25fbb6c7d1fc3a79c604d

Change-Id: Iead494212c6adcec234eaef14c83d1f8c7a49deb
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:29:34 +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