Merge "Sepolicy for IRadio modules" am: 0185fc6e12 am: 703e69e517 am: 45849ee180 am: 1214fbd0bb

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1883570

Change-Id: I74d10019470cf4f54ade158284d92b690b8dc67d
This commit is contained in:
Sarah Chin 2021-11-09 10:05:17 +00:00 committed by Automerger Merge Worker
commit 72798396a1
4 changed files with 40 additions and 4 deletions

View file

@ -14,9 +14,15 @@
hal_contexthub_service
hal_graphics_composer_service
hal_health_service
hal_radio_config_service
hal_radio_data_service
hal_radio_messaging_service
hal_radio_modem_service
hal_radio_network_service
hal_radio_sim_service
hal_radio_voice_service
hal_sensors_service
hal_system_suspend_service
hal_radio_service
hal_tv_tuner_service
hal_uwb_service
hal_uwb_vendor_service

View file

@ -14,7 +14,25 @@ android.hardware.net.nlinterceptor.IInterceptor/default u:object_r:
android.hardware.oemlock.IOemLock/default u:object_r:hal_oemlock_service:s0
android.hardware.power.IPower/default u:object_r:hal_power_service:s0
android.hardware.power.stats.IPowerStats/default u:object_r:hal_power_stats_service:s0
android.hardware.radio.config.IRadioConfig/default u:object_r:hal_radio_service:s0
android.hardware.radio.config.IRadioConfig/default u:object_r:hal_radio_config_service:s0
android.hardware.radio.data.IRadioData/slot1 u:object_r:hal_radio_data_service:s0
android.hardware.radio.data.IRadioData/slot2 u:object_r:hal_radio_data_service:s0
android.hardware.radio.data.IRadioData/slot3 u:object_r:hal_radio_data_service:s0
android.hardware.radio.messaging.IRadioMessaging/slot1 u:object_r:hal_radio_messaging_service:s0
android.hardware.radio.messaging.IRadioMessaging/slot2 u:object_r:hal_radio_messaging_service:s0
android.hardware.radio.messaging.IRadioMessaging/slot3 u:object_r:hal_radio_messaging_service:s0
android.hardware.radio.modem.IRadioModem/slot1 u:object_r:hal_radio_modem_service:s0
android.hardware.radio.modem.IRadioModem/slot2 u:object_r:hal_radio_modem_service:s0
android.hardware.radio.modem.IRadioModem/slot3 u:object_r:hal_radio_modem_service:s0
android.hardware.radio.network.IRadioNetwork/slot1 u:object_r:hal_radio_network_service:s0
android.hardware.radio.network.IRadioNetwork/slot2 u:object_r:hal_radio_network_service:s0
android.hardware.radio.network.IRadioNetwork/slot3 u:object_r:hal_radio_network_service:s0
android.hardware.radio.sim.IRadioSim/slot1 u:object_r:hal_radio_sim_service:s0
android.hardware.radio.sim.IRadioSim/slot2 u:object_r:hal_radio_sim_service:s0
android.hardware.radio.sim.IRadioSim/slot3 u:object_r:hal_radio_sim_service:s0
android.hardware.radio.voice.IRadioVoice/slot1 u:object_r:hal_radio_voice_service:s0
android.hardware.radio.voice.IRadioVoice/slot2 u:object_r:hal_radio_voice_service:s0
android.hardware.radio.voice.IRadioVoice/slot3 u:object_r:hal_radio_voice_service:s0
android.hardware.rebootescrow.IRebootEscrow/default u:object_r:hal_rebootescrow_service:s0
android.hardware.security.keymint.IKeyMintDevice/default u:object_r:hal_keymint_service:s0
android.hardware.security.keymint.IRemotelyProvisionedComponent/default u:object_r:hal_remotelyprovisionedcomponent_service:s0

View file

@ -3,7 +3,13 @@ binder_call(hal_telephony_client, hal_telephony_server)
binder_call(hal_telephony_server, hal_telephony_client)
hal_attribute_hwservice(hal_telephony, hal_telephony_hwservice)
hal_attribute_service(hal_telephony, hal_radio_service)
hal_attribute_service(hal_telephony, hal_radio_config_service)
hal_attribute_service(hal_telephony, hal_radio_data_service)
hal_attribute_service(hal_telephony, hal_radio_messaging_service)
hal_attribute_service(hal_telephony, hal_radio_modem_service)
hal_attribute_service(hal_telephony, hal_radio_network_service)
hal_attribute_service(hal_telephony, hal_radio_sim_service)
hal_attribute_service(hal_telephony, hal_radio_voice_service)
allowxperm hal_telephony_server self:udp_socket ioctl priv_sock_ioctls;

View file

@ -273,13 +273,19 @@ type hal_neuralnetworks_service, vendor_service, service_manager_type;
type hal_oemlock_service, vendor_service, protected_service, service_manager_type;
type hal_power_service, vendor_service, protected_service, service_manager_type;
type hal_power_stats_service, vendor_service, protected_service, service_manager_type;
type hal_radio_config_service, vendor_service, protected_service, service_manager_type;
type hal_radio_data_service, vendor_service, protected_service, service_manager_type;
type hal_radio_messaging_service, vendor_service, protected_service, service_manager_type;
type hal_radio_modem_service, vendor_service, protected_service, service_manager_type;
type hal_radio_network_service, vendor_service, protected_service, service_manager_type;
type hal_radio_sim_service, vendor_service, protected_service, service_manager_type;
type hal_radio_voice_service, vendor_service, protected_service, service_manager_type;
type hal_rebootescrow_service, vendor_service, protected_service, service_manager_type;
type hal_remotelyprovisionedcomponent_service, vendor_service, protected_service, service_manager_type;
type hal_sensors_service, vendor_service, protected_service, service_manager_type;
type hal_secureclock_service, vendor_service, protected_service, service_manager_type;
type hal_sharedsecret_service, vendor_service, protected_service, service_manager_type;
type hal_system_suspend_service, protected_service, service_manager_type;
type hal_radio_service, vendor_service, protected_service, service_manager_type;
type hal_tv_tuner_service, vendor_service, protected_service, service_manager_type;
type hal_uwb_service, vendor_service, protected_service, service_manager_type;
type hal_vibrator_service, vendor_service, protected_service, service_manager_type;