sm8350-common: sepolicy: add powershare rules
This commit is contained in:
parent
d450e594e1
commit
61d11a676c
2
sepolicy/vendor/genfs_contexts
vendored
Normal file
2
sepolicy/vendor/genfs_contexts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Battery
|
||||||
|
genfscon sysfs /class/qcom-battery u:object_r:vendor_sysfs_battery_supply:s0
|
2
sepolicy/vendor/hal_lineage_powershare_default.te
vendored
Normal file
2
sepolicy/vendor/hal_lineage_powershare_default.te
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
allow hal_lineage_powershare_default vendor_sysfs_battery_supply:dir search;
|
||||||
|
allow hal_lineage_powershare_default vendor_sysfs_battery_supply:file rw_file_perms;
|
Loading…
Reference in New Issue
Block a user