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
[Detail]
Google add a new tag in Android P
system/sepolicy/vendor/hal_thermal_default.te
Need to add mtktz and /proc/stat grant permission for thermal HAL.
[Solution]
Add grant permission in both
devicemediateksepolicybasicnon_plathal_thermal_default.te
devicemediateksepolicybasicnon_platmerged_hal_service.te
MTK-Commit-Id: b4e6eb391c134c4c4580fd352a0aa8fec56b0a5a
Change-Id: Ifb0aa31bf47d105429be2dad60477747f1009a5d
Signed-off-by: jerry-sc.wu <jerry-sc.wu@mediatek.com>
CR-Id: ALPS03946757
Feature: Thermal Management
[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
[Detail]
prepare HAL version 2.0
MTK-Commit-Id: fa6c01053653fcc337a336c1da19c07db7a69486
Change-Id: I0da57902ef3fb8e7e9eadba892e57cc322025bc9
CR-Id: ALPS03737981
Feature: System Performance
[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