commit | 6f44cbd9e3c94fd58df753c5e5aba1ffa4cd9073 | [log] [tgz] |
---|---|---|
author | Bruno Martins <bgcngm@gmail.com> | Thu Aug 03 15:00:55 2023 +0100 |
committer | Bruno Martins <bgcngm@gmail.com> | Tue Oct 24 23:48:50 2023 +0100 |
tree | 642d956fbac811cffae6452dbc35bdebc6570c49 | |
parent | e94aeb4ad37861996cebc9f2aa1be7bdae85af0b [diff] |
sepolicy_vndr: common: Label UCSI power supply QCOM started ignoring UCSI power supply in healthd-ext [1], but there's no rule to allow accessing the node. Label it as a regular USB power supply node just for the sake of simplicity. [1] https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/healthd-ext/-/commit/7e1bf288a5a18b639d637027272371a2ebccfcb0) Change-Id: I206ea93d45ee024db9e8b5c05e57081aee3e0dbd
diff --git a/generic/vendor/common/genfs_contexts b/generic/vendor/common/genfs_contexts index 4794756..014ed46 100644 --- a/generic/vendor/common/genfs_contexts +++ b/generic/vendor/common/genfs_contexts
@@ -201,3 +201,5 @@ genfscon sysfs /kernel/qts/primary/trusted_touch_enable u:object_r:vendor_sysfs_trusted_touch_enable:s0 genfscon sysfs /kernel/qts/secondary/trusted_touch_enable u:object_r:vendor_sysfs_trusted_touch_enable:s0 + +genfscon sysfs /devices/platform/soc/soc:qcom,pmic_glink/soc:qcom,pmic_glink:qcom,ucsi/power_supply/ucsi-source-psy-soc:qcom,pmic_glink:qcom,ucsi1 u:object_r:vendor_sysfs_battery_supply:s0