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
This commit is contained in:
parent
ba34567e76
commit
297127bb5e
1 changed files with 4 additions and 0 deletions
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)
|
Loading…
Reference in a new issue