sm8350-common: sepolicy: Add rules for OnePlus charger

Change-Id: Ic4685fca5d631bce8b87492bc3c956e3dc567054
This commit is contained in:
LuK1337 2021-06-02 02:34:11 +02:00 committed by Bruno Martins
parent cfa0bbf545
commit 965826e23b
7 changed files with 27 additions and 0 deletions

View file

@ -41,11 +41,15 @@
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.oneplus_lahaina u:object_r:hal_lineage_touch_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.camera@1\.0-service u:object_r:hal_cameraHIDL_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.CameraMDMHIDL@1\.0-service u:object_r:hal_cameraHIDL_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.charger@1\.0-service u:object_r:hal_charger_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.display@1\.0-service u:object_r:hal_display_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.param@1\.0-service u:object_r:hal_param_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.pixelworks\.hardware\.display\.iris-service u:object_r:hal_graphics_composer_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.pixelworks\.hardware\.feature\.irisfeature-service u:object_r:hal_graphics_composer_default_exec:s0
# Init scripts
/vendor/bin/init.oplus_chg.sh u:object_r:vendor_qti_init_shell_exec:s0
# OP1, OP2 files
/mnt/vendor/op1(/.*)? u:object_r:op1_file:s0
/mnt/vendor/op2(/.*)? u:object_r:op2_file:s0