Fix modem_logging_control sepolicy error
avc: denied { call } for scontext=u:r:modem_logging_control:s0 tcontext=u:r:servicemanager:s0 tclass=binder permissive=0 avc: denied { find } for pid=1124 uid=1000 name=vendor.samsung_slsi.telephony.hardware.oemservice.IOemService/dm0 scontext=u:r:modem_logging_control:s0 tcontext=u:object_r:hal_vendor_modem_logging_service:s0 tclass=service_manager permissive=0 Bug:356025857 Test:Start modem logging correctly Flag: EXEMPT bug fix Change-Id: I0de9622957d7b7b756b178153d63e796bf45e856
This commit is contained in:
parent
f43ae7b448
commit
3c83ed0f7c
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
# for modem_logging_control domain
|
||||
type modem_logging_control, domain;
|
||||
type modem_logging_control_exec, vendor_file_type, exec_type, file_type;
|
||||
|
||||
|
@ -5,6 +6,7 @@ init_daemon_domain(modem_logging_control)
|
|||
|
||||
hwbinder_use(modem_logging_control)
|
||||
binder_call(modem_logging_control, dmd)
|
||||
binder_call(modem_logging_control, servicemanager)
|
||||
|
||||
allow modem_logging_control radio_device:chr_file rw_file_perms;
|
||||
allow modem_logging_control hal_vendor_oem_hwservice:hwservice_manager find;
|
||||
|
@ -12,6 +14,7 @@ allow modem_logging_control radio_vendor_data_file:dir create_dir_perms;
|
|||
allow modem_logging_control radio_vendor_data_file:file create_file_perms;
|
||||
allow modem_logging_control vendor_slog_file:dir create_dir_perms;
|
||||
allow modem_logging_control vendor_slog_file:file create_file_perms;
|
||||
allow modem_logging_control hal_vendor_modem_logging_service:service_manager find;
|
||||
|
||||
set_prop(modem_logging_control, vendor_modem_prop)
|
||||
get_prop(modem_logging_control, hwservicemanager_prop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue