Merge "[ALPS03885057] Add label for MTK USB HIDL 1.1" into alps-trunk-p0.basic
Change-Id: I32fa299a59aa7b5294e298be7eaf20edb8f0f8e9 MTK-Commit-Id: 7287b09d79ce953c2dabb254aa13ee89619a0395
This commit is contained in:
commit
a67cd8a97a
@ -576,7 +576,8 @@
|
||||
/(system\/vendor|vendor)/bin/hw/android\.hardware\.nfc@1\.1-service-st u:object_r:hal_nfc_default_exec:s0
|
||||
# MTK Wifi Hal
|
||||
/(system\/vendor|vendor)/bin/hw/android\.hardware\.wifi@1\.0-service-mediatek u:object_r:mtk_hal_wifi_exec:s0
|
||||
|
||||
# MTK USB hal
|
||||
/(system\/vendor|vendor)/bin/hw/android\.hardware\.usb@1\.1-service-mediatek u:object_r:mtk_hal_usb_exec:s0
|
||||
|
||||
#############################
|
||||
# System/bin files
|
||||
|
@ -1,2 +1,11 @@
|
||||
allow hal_usb_default sysfs_dual_role_usb20:dir search;
|
||||
type mtk_hal_usb, domain;
|
||||
hal_server_domain(mtk_hal_usb, hal_usb)
|
||||
|
||||
type mtk_hal_usb_exec, exec_type, file_type, vendor_file_type;
|
||||
init_daemon_domain(mtk_hal_usb)
|
||||
|
||||
allow hal_usb_default sysfs_dual_role_usb20:dir {search read};
|
||||
allow hal_usb_default sysfs_dual_role_usb20:file {open read getattr};
|
||||
|
||||
allow mtk_hal_usb sysfs_dual_role_usb20:dir {search read};
|
||||
allow mtk_hal_usb sysfs_dual_role_usb20:file {open read getattr};
|
||||
|
Loading…
x
Reference in New Issue
Block a user