mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 14:29:33 +00:00
Bug: 301641283
selinux log:
11-03 15:32:38.850 2643 2643 I auditd : type=1400 audit(0.0:1616): avc: denied { call } for comm="binder:2643_3" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.850 2643 2643 I binder:2643_3: type=1400 audit(0.0:1616): avc: denied { call } for scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 2643 2643 I auditd : type=1400 audit(0.0:1617): avc: denied { transfer } for comm="binder:2643_3" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 2643 2643 I binder:2643_3: type=1400 audit(0.0:1617): avc: denied { transfer } for scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 1095 1095 I auditd : type=1400 audit(0.0:1618): avc: denied { call } for comm="HwBinder:1095_1" scontext=u:r:rild:s0 tcontext=u:r:modem_diagnostic_app:s0:c512,c768 tclass=binder permissive=1
11-03 15:32:38.854 1095 1095 I HwBinder:1095_1: type=1400 audit(0.0:1618): avc: denied { call } for scontext=u:r:rild:s0 tcontext=u:r:modem_diagnostic_app:s0:c512,c768 tclass=binder permissive=1
Change-Id: I62986e4bb0a4ed04616f8f3a8521f01934e63d74
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
set_prop(rild, vendor_rild_prop)
|
|
set_prop(rild, vendor_modem_prop)
|
|
get_prop(rild, vendor_persist_config_default_prop)
|
|
get_prop(rild, vendor_carrier_prop)
|
|
|
|
get_prop(rild, sota_prop)
|
|
get_prop(rild, system_boot_reason_prop)
|
|
|
|
set_prop(rild, telephony_ril_prop)
|
|
|
|
allow rild proc_net:file rw_file_perms;
|
|
allow rild radio_vendor_data_file:dir create_dir_perms;
|
|
allow rild radio_vendor_data_file:file create_file_perms;
|
|
allow rild rild_vendor_data_file:dir create_dir_perms;
|
|
allow rild rild_vendor_data_file:file create_file_perms;
|
|
allow rild vendor_fw_file:file r_file_perms;
|
|
allow rild mnt_vendor_file:dir r_dir_perms;
|
|
|
|
r_dir_file(rild, modem_img_file)
|
|
|
|
binder_call(rild, platform_app)
|
|
binder_call(rild, bipchmgr)
|
|
binder_call(rild, gpsd)
|
|
binder_call(rild, hal_audio_default)
|
|
binder_call(rild, modem_svc_sit)
|
|
binder_call(rild, vendor_ims_app)
|
|
binder_call(rild, vendor_rcs_app)
|
|
binder_call(rild, oemrilservice_app)
|
|
binder_call(rild, hal_secure_element_uicc)
|
|
binder_call(rild, grilservice_app)
|
|
binder_call(rild, vendor_engineermode_app)
|
|
binder_call(rild, vendor_telephony_debug_app)
|
|
binder_call(rild, logger_app)
|
|
|
|
# for hal service
|
|
add_hwservice(rild, hal_exynos_rild_hwservice)
|
|
|
|
# Allow rild to access files on modem img.
|
|
allow rild modem_img_file:dir r_dir_perms;
|
|
allow rild modem_img_file:file r_file_perms;
|
|
allow rild modem_img_file:lnk_file r_file_perms;
|
|
|
|
# Allow rild to ptrace for memory leak detection
|
|
userdebug_or_eng(`
|
|
allow rild self:process ptrace;
|
|
|
|
binder_call(rild, modem_diagnostic_app)
|
|
')
|