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>
1 file changed
tree: 8874b04a28c7e71025f2274dd5f5ca81c0910aaa
  1. common/
  2. tee/
  3. Android.mk
  4. README.md
  5. sepolicy.mk
README.md

SELinux policy for Samsung SLSI

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