avc: denied { call } for comm="bluetooth@1.1-s" scontext=u:r:hal_bluetooth_synabtlinux:s0 tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=0 avc: denied { call } for scontext=u:r:hal_bluetooth_synabtlinux:s0 tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=1 avc: denied { read } for comm="android.hardwar" name="u:object_r:boot_status_prop:s0" dev="tmpfs" ino=109 scontext=u:r:hal_bluetooth_synabtlinux:s0 tcontext=u:object_r:boot_status_prop:s0 tclass=file permissive=0 Bug: 215487801 Test: captured bugreport and didn't see powerstats avc denials Change-Id: I34840b7f8031084270477635c2bde5d702a0507c Signed-off-by: Darren Hsu <darrenhsu@google.com>
23 lines
1.2 KiB
Text
23 lines
1.2 KiB
Text
type hal_bluetooth_synabtlinux, domain;
|
|
type hal_bluetooth_synabtlinux_exec, exec_type, file_type, vendor_file_type;
|
|
|
|
hal_server_domain(hal_bluetooth_synabtlinux, hal_bluetooth)
|
|
init_daemon_domain(hal_bluetooth_synabtlinux)
|
|
|
|
allow hal_bluetooth_synabtlinux self:socket { create bind read write };
|
|
allow hal_bluetooth_synabtlinux self:bluetooth_socket { create bind read write };
|
|
allow hal_bluetooth_synabtlinux hci_attach_dev:chr_file rw_file_perms;
|
|
allow hal_bluetooth_synabtlinux hal_power_stats_vendor_service:service_manager find;
|
|
add_hwservice(hal_bluetooth_synabtlinux, hal_bluetooth_coexistence_hwservice)
|
|
vndbinder_use(hal_bluetooth_synabtlinux)
|
|
binder_call(hal_bluetooth_synabtlinux, hal_power_stats_default)
|
|
get_prop(hal_bluetooth_synabtlinux, boot_status_prop)
|
|
|
|
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_crashinfo_file:dir create_dir_perms;
|
|
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_crashinfo_file:file create_file_perms;
|
|
|
|
userdebug_or_eng(`
|
|
allow hal_bluetooth_synabtlinux logbuffer_device:chr_file r_file_perms;
|
|
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_coredump_file:dir create_dir_perms;
|
|
allow hal_bluetooth_synabtlinux sscoredump_vendor_data_coredump_file:file create_file_perms;
|
|
')
|