mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Fixes the following denial:
avc: denied { write } for name="current_power_role"
dev="sysfs" ino=50970 scontext=u:r:hal_usb_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file
permissive=0
Bug: 38097623
Test: The denial message is not seen anymore.
Change-Id: I961a595a06211214142d3316abf7172f5e500347
6 lines
263 B
Plaintext
6 lines
263 B
Plaintext
allow hal_usb_default sysfs_msm_subsys:dir search;
|
|
allow hal_usb_default sysfs_msm_subsys:file r_file_perms;
|
|
allow hal_usb_default sysfs_usb_c:dir r_dir_perms;
|
|
allow hal_usb_default sysfs_usb_c:lnk_file read;
|
|
allow hal_usb_default sysfs_usb_c:file rw_file_perms;
|