Merge changes I6f6e8359,Ib7bf4029 into sc-dev

* changes:
  label kernel modules and grant bt permission
  update error on ROM 7196668
This commit is contained in:
TreeHugger Robot 2021-03-11 03:53:57 +00:00 committed by Android (Google) Code Review
commit db0ca5a3b2
5 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,2 @@
# b/182320300
dontaudit hal_bluetooth_btlinux default_android_service:service_manager { find };

View file

@ -10,3 +10,5 @@ dontaudit hal_power_stats_default sysfs:dir { open };
dontaudit hal_power_stats_default sysfs:file { read }; dontaudit hal_power_stats_default sysfs:file { read };
dontaudit hal_power_stats_default sysfs:file { open }; dontaudit hal_power_stats_default sysfs:file { open };
dontaudit hal_power_stats_default sysfs:file { open }; dontaudit hal_power_stats_default sysfs:file { open };
# b/182320246
dontaudit hal_power_stats_default default_android_service:service_manager { add };

View file

@ -14,3 +14,12 @@ dontaudit rild unlabeled:file { open };
dontaudit rild unlabeled:file { read }; dontaudit rild unlabeled:file { read };
dontaudit rild unlabeled:file { getattr }; dontaudit rild unlabeled:file { getattr };
dontaudit rild unlabeled:file { lock }; dontaudit rild unlabeled:file { lock };
# b/182320172
dontaudit rild sota_prop:file { map };
dontaudit rild sota_prop:file { getattr };
dontaudit rild sota_prop:file { open };
dontaudit rild sota_prop:file { read };
dontaudit rild sota_prop:file { read };
dontaudit rild sota_prop:file { open };
dontaudit rild sota_prop:file { getattr };
dontaudit rild sota_prop:file { map };

View file

@ -356,6 +356,7 @@
# Vendor_kernel_modules # Vendor_kernel_modules
/vendor/lib/modules/.*\.ko u:object_r:vendor_kernel_modules:s0 /vendor/lib/modules/.*\.ko u:object_r:vendor_kernel_modules:s0
/vendor_dlkm/lib/modules/.*\.ko u:object_r:vendor_kernel_modules:s0
# Display # Display
/vendor/lib(64)?/libion_google\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libion_google\.so u:object_r:same_process_hal_file:s0

View file

@ -4,6 +4,7 @@ allow hal_bluetooth_btlinux sysfs_bluetooth_writable:file rw_file_perms;
allow hal_bluetooth_btlinux proc_bluetooth_writable:file rw_file_perms; allow hal_bluetooth_btlinux proc_bluetooth_writable:file rw_file_perms;
allow hal_bluetooth_btlinux hci_attach_dev:chr_file rw_file_perms; allow hal_bluetooth_btlinux hci_attach_dev:chr_file rw_file_perms;
allow hal_bluetooth_btlinux wb_coexistence_dev:chr_file rw_file_perms; allow hal_bluetooth_btlinux wb_coexistence_dev:chr_file rw_file_perms;
binder_call(hal_bluetooth_btlinux, servicemanager)
# power stats # power stats
vndbinder_use(hal_bluetooth_btlinux) vndbinder_use(hal_bluetooth_btlinux)