Allow usb hal to read contaminantdisable property
avc: denied { read } for comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0" dev="tmpfs" ino=367 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0 Bug: 227792357 Change-Id: Id4d5ef7c214f0c0f672db28991b9fbe0152530b7
This commit is contained in:
parent
282c77a88f
commit
8606aa8a51
1 changed files with 3 additions and 0 deletions
3
whitechapel/vendor/google/hal_usb_impl.te
vendored
3
whitechapel/vendor/google/hal_usb_impl.te
vendored
|
@ -23,3 +23,6 @@ hal_client_domain(hal_usb_impl, hal_thermal);
|
|||
|
||||
# For reading the usb-c throttling stats
|
||||
allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;
|
||||
|
||||
# For checking contaminant detection status
|
||||
get_prop(hal_usb_impl, vendor_usb_config_prop);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue