commit | eeb0065f8b87c130ed300af700cb66c8d83f67f0 | [log] [tgz] |
---|---|---|
author | roynatech2544 <whiteshell2544@naver.com> | Sat Feb 11 16:23:56 2023 +0900 |
committer | Royna <whiteshell2544@naver.com> | Sat Feb 11 09:09:24 2023 +0100 |
tree | 8874b04a28c7e71025f2274dd5f5ca81c0910aaa | |
parent | b5db2e503514d5822ca29eab8c02ee8d73a5fdc3 [diff] |
common: Fix neverallows of fastcharge rules - hal_lineage_fastcharge itself is a typeattribute, therefore it is considered a coredomain and neverallow doesn't pass. neverallow check failed at out/soong/.intermediates/system/sepolicy/plat_sepolicy.cil/android_common/plat_sepolicy.cil:23504 from system/sepolicy/private/property.te:324 (neverallow base_typeattr_741 base_typeattr_742 (property_service (set))) <root> allow at out/soong/.intermediates/system/sepolicy/vendor_sepolicy.cil/android_common/vendor_sepolicy.cil:1828 (allow hal_lineage_fastcharge vendor_fastcharge_prop (property_service (set))) - Correct the usage to hal_lineage_fastcharge_default, which is a domain type and _NOT_ a coredomain, neverallow passes Test: m bacon, build works Change-Id: I04ae2ff0db0de2a6deae2860951d6f7b40c7ae79 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Don't recurse into the platform makefiles. We don't care about them, and we don't want to force a reset of BOARD_SEPOLICY_DIRS
.
If you want to use these policies, add a
include device/samsung_slsi/sepolicy/sepolicy.mk
to your device's BoardConfig. It is highly recommended that in case you have your own BOARD_SEPOLICY_DIRS
declaration, the inclusion happens before those lines