sm6225-common: sepolicy: Resolve hvdcp IIO denials
Change-Id: Ic2a3dbad57398b201a6b21cf846ec9b4848743e5
This commit is contained in:
parent
6d6a28f63a
commit
8f862572e7
3 changed files with 12 additions and 0 deletions
9
sepolicy/vendor/genfs_contexts
vendored
9
sepolicy/vendor/genfs_contexts
vendored
|
@ -18,6 +18,15 @@ genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/power_supply/batt
|
|||
genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/power_supply/dc u:object_r:vendor_sysfs_battery_supply:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi_chrg_manager/power_supply/mmi_chrg_manager u:object_r:vendor_sysfs_battery_supply:s0
|
||||
|
||||
# IIO
|
||||
genfscon sysfs /bus/iio u:object_r:vendor_sysfs_sensors:s0
|
||||
genfscon sysfs /devices/platform/soc/1c40000.qcom,spmi/spmi-0/spmi0-00/1c40000.qcom,spmi:qcom,pm6125@0:vadc@3100/iio:device u:object_r:vendor_sysfs_sensors:s0
|
||||
genfscon sysfs /devices/platform/soc/1c40000.qcom,spmi/spmi-0/spmi0-02/1c40000.qcom,spmi:qcom,pmi632@2:vadc@3100/iio:device u:object_r:vendor_sysfs_sensors:s0
|
||||
genfscon sysfs /devices/platform/soc/4a84000.i2c/i2c-0/0-0035/iio:device u:object_r:vendor_sysfs_sensors:s0
|
||||
genfscon sysfs /devices/platform/soc/4a84000.i2c/i2c-0/0-0066/iio:device u:object_r:vendor_sysfs_sensors:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/iio:device u:object_r:vendor_sysfs_sensors:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi_chrg_manager/iio:device u:object_r:vendor_sysfs_sensors:s0
|
||||
|
||||
# Input Devices
|
||||
genfscon sysfs /devices/virtual/input u:object_r:vendor_sysfs_input:s0
|
||||
|
||||
|
|
1
sepolicy/vendor/hal_usb.te
vendored
Normal file
1
sepolicy/vendor/hal_usb.te
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
allow vendor_hal_usb_qti vendor_sysfs_sensors:dir r_dir_perms;
|
2
sepolicy/vendor/hvdcp.te
vendored
Normal file
2
sepolicy/vendor/hvdcp.te
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow vendor_hvdcp vendor_sysfs_sensors:dir r_dir_perms;
|
||||
allow vendor_hvdcp vendor_sysfs_sensors:file r_file_perms;
|
Loading…
Reference in a new issue