hal_usb_impl: Add get_prop for vendor_usb_config_prop
avc: denied { read } for comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0" dev="tmpfs" ino=391 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0 Bug: 310560098 Change-Id: I86588715cae2696dd0e045c5b75dde55e0f84c1e Signed-off-by: Kyle Tso <kyletso@google.com>
This commit is contained in:
parent
84ef937a19
commit
48815490ff
1 changed files with 1 additions and 0 deletions
1
vendor/hal_usb_impl.te
vendored
1
vendor/hal_usb_impl.te
vendored
|
@ -7,6 +7,7 @@ hal_server_domain(hal_usb_impl, hal_usb_gadget)
|
||||||
|
|
||||||
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
|
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
|
||||||
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
|
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
|
||||||
|
get_prop(hal_usb_impl, vendor_usb_config_prop)
|
||||||
|
|
||||||
# Needed for monitoring usb port temperature
|
# Needed for monitoring usb port temperature
|
||||||
allow hal_usb_impl self:capability2 wake_alarm;
|
allow hal_usb_impl self:capability2 wake_alarm;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue