mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sapphire
synced 2026-02-01 07:58:19 +00:00
sm6225-common : allow vendor_hvdcp to access sysfs
avc: denied { read } for comm="hvdcp_opti" name="name" dev="sysfs" ino=86827 scontext=u:r:vendor_hvdcp:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
This commit is contained in:
4
sepolicy/vendor/hvdcp.te
vendored
Normal file
4
sepolicy/vendor/hvdcp.te
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
r_dir_file(vendor_hvdcp, vendor_sysfs_battery_supply)
|
||||
rw_dir_file(vendor_hvdcp, sysfs)
|
||||
allow vendor_hvdcp sysfs_batteryinfo:dir search;
|
||||
set_prop(vendor_hvdcp, ctl_stop_prop)
|
||||
Reference in New Issue
Block a user