android_device_motorola_sm6.../sepolicy/vendor/hvdcp.te
itsnouralawad 297127bb5e
sm6375-common: sepolicy: Allow vendor_hvdcp to access sysfs
* W hvdcp_opti: type=1400 audit(0.0:4035): avc:  denied  { read } for  name="name" dev="sysfs" ino=84102 scontext=u:r:vendor_hvdcp:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Change-Id: I022383cf00f4c3ede5755de73a5711b3c6145e5f
2024-07-26 20:16:00 +05:30

4 lines
174 B
Text

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)