a32: sepolicy: Allow USB HAL to read vendor_mtk_usb_prop
W libc : Access denied finding property "vendor.usb.contaminantdisable"
avc: denied { read } for name="u:object_r:vendor_mtk_usb_prop:s0" dev="tmpfs" ino=590 scontext=u:r:hal_usb_default:s0 tcontext=u:object_r:vendor_mtk_usb_prop:s0 tclass=file permissive=0
This commit is contained in:
parent
dad7aaafbe
commit
002439a7d0
1 changed files with 2 additions and 0 deletions
2
sepolicy/vendor/hal_usb_default.te
vendored
2
sepolicy/vendor/hal_usb_default.te
vendored
|
|
@ -2,3 +2,5 @@ allow hal_usb_default sysfs_usb_nonplat:dir r_dir_perms;
|
|||
allow hal_usb_default sysfs_usb_nonplat:file r_file_perms;
|
||||
allow hal_usb_default sysfs_usb_nonplat:lnk_file r_file_perms;
|
||||
allow hal_usb_default sysfs_battery:dir search;
|
||||
|
||||
get_prop(hal_usb_default, vendor_mtk_usb_prop)
|
||||
|
|
|
|||
Loading…
Reference in a new issue