7c539b1c96
Add the necessary permissions for |wpa_supplicant| to expose a binder
interface. This binder interface will be used by the newly added
|wificond| service (and potentially system_server).
|wpa_supplicant| also needs to invoke binder callbacks on |wificond|.
Changes in the CL:
1. Allow |wpa_supplicant| to register binder service.
2. Allow |wpa_supplicant| to invoke binder calls on |wificond|.
3. Allow |wificond| to invoke binder calls on |wpa_supplicant|
Denials:
06-30 08:14:42.788 400 400 E SELinux : avc: denied { add } for
service=wpa_supplicant pid=20756 uid=1010 scontext=u:r:wpa:s0
tcontext=u:object_r:default_android_service:s0 tclass=service_manager
permissive=1
BUG:29877467
TEST: Compiled and ensured that the selinux denials are no longer
present in logs.
TEST: Ran integration test to find the service.
Change-Id: Ib78d8e820fc81b2c3d9260e1c877c5faa9f1f662
(cherry picked from commit 18883a93b7
)
123 lines
9.4 KiB
Text
123 lines
9.4 KiB
Text
type audioserver_service, service_manager_type;
|
|
type bluetooth_service, service_manager_type;
|
|
type cameraserver_service, service_manager_type;
|
|
type default_android_service, service_manager_type;
|
|
type drmserver_service, service_manager_type;
|
|
type gatekeeper_service, app_api_service, service_manager_type;
|
|
type fingerprintd_service, service_manager_type;
|
|
type batteryproperties_service, app_api_service, service_manager_type;
|
|
type gpu_service, service_manager_type;
|
|
type inputflinger_service, service_manager_type;
|
|
type keystore_service, service_manager_type;
|
|
type mediaserver_service, service_manager_type;
|
|
type mediaextractor_service, service_manager_type;
|
|
type mediacodec_service, service_manager_type;
|
|
type mediadrmserver_service, service_manager_type;
|
|
type netd_service, service_manager_type;
|
|
type nfc_service, service_manager_type;
|
|
type radio_service, service_manager_type;
|
|
type surfaceflinger_service, service_manager_type;
|
|
type system_app_service, service_manager_type;
|
|
type update_engine_service, service_manager_type;
|
|
|
|
# system_server_services broken down
|
|
type accessibility_service, app_api_service, system_server_service, service_manager_type;
|
|
type account_service, app_api_service, system_server_service, service_manager_type;
|
|
type activity_service, app_api_service, system_server_service, service_manager_type;
|
|
type alarm_service, app_api_service, system_server_service, service_manager_type;
|
|
type appops_service, app_api_service, system_server_service, service_manager_type;
|
|
type appwidget_service, app_api_service, system_server_service, service_manager_type;
|
|
type assetatlas_service, app_api_service, system_server_service, service_manager_type;
|
|
type audio_service, app_api_service, system_server_service, service_manager_type;
|
|
type backup_service, app_api_service, system_server_service, service_manager_type;
|
|
type batterystats_service, app_api_service, system_server_service, service_manager_type;
|
|
type battery_service, system_server_service, service_manager_type;
|
|
type bluetooth_manager_service, app_api_service, system_server_service, service_manager_type;
|
|
type cameraproxy_service, system_server_service, service_manager_type;
|
|
type clipboard_service, app_api_service, system_server_service, service_manager_type;
|
|
type contexthub_service, app_api_service, system_server_service, service_manager_type;
|
|
type IProxyService_service, app_api_service, system_server_service, service_manager_type;
|
|
type commontime_management_service, system_server_service, service_manager_type;
|
|
type connectivity_service, app_api_service, system_server_service, service_manager_type;
|
|
type consumer_ir_service, app_api_service, system_server_service, service_manager_type;
|
|
type content_service, app_api_service, system_server_service, service_manager_type;
|
|
type country_detector_service, app_api_service, system_server_service, service_manager_type;
|
|
type cpuinfo_service, system_api_service, system_server_service, service_manager_type;
|
|
type dbinfo_service, system_api_service, system_server_service, service_manager_type;
|
|
type device_policy_service, app_api_service, system_server_service, service_manager_type;
|
|
type deviceidle_service, app_api_service, system_server_service, service_manager_type;
|
|
type devicestoragemonitor_service, system_server_service, service_manager_type;
|
|
type diskstats_service, system_api_service, system_server_service, service_manager_type;
|
|
type display_service, app_api_service, system_server_service, service_manager_type;
|
|
type dns_listener_service, system_server_service, service_manager_type;
|
|
type DockObserver_service, system_server_service, service_manager_type;
|
|
type dreams_service, app_api_service, system_server_service, service_manager_type;
|
|
type dropbox_service, app_api_service, system_server_service, service_manager_type;
|
|
type ethernet_service, app_api_service, system_server_service, service_manager_type;
|
|
type fingerprint_service, app_api_service, system_server_service, service_manager_type;
|
|
type gfxinfo_service, system_api_service, system_server_service, service_manager_type;
|
|
type graphicsstats_service, app_api_service, system_server_service, service_manager_type;
|
|
type hardware_service, system_server_service, service_manager_type;
|
|
type hardware_properties_service, app_api_service, system_server_service, service_manager_type;
|
|
type hdmi_control_service, system_api_service, system_server_service, service_manager_type;
|
|
type input_method_service, app_api_service, system_server_service, service_manager_type;
|
|
type input_service, app_api_service, system_server_service, service_manager_type;
|
|
type imms_service, app_api_service, system_server_service, service_manager_type;
|
|
type jobscheduler_service, app_api_service, system_server_service, service_manager_type;
|
|
type launcherapps_service, app_api_service, system_server_service, service_manager_type;
|
|
type location_service, app_api_service, system_server_service, service_manager_type;
|
|
type lock_settings_service, system_api_service, system_server_service, service_manager_type;
|
|
type media_projection_service, app_api_service, system_server_service, service_manager_type;
|
|
type media_router_service, app_api_service, system_server_service, service_manager_type;
|
|
type media_session_service, app_api_service, system_server_service, service_manager_type;
|
|
type meminfo_service, system_api_service, system_server_service, service_manager_type;
|
|
type midi_service, app_api_service, system_server_service, service_manager_type;
|
|
type mount_service, app_api_service, system_server_service, service_manager_type;
|
|
type netpolicy_service, app_api_service, system_server_service, service_manager_type;
|
|
type netstats_service, app_api_service, system_server_service, service_manager_type;
|
|
type network_management_service, app_api_service, system_server_service, service_manager_type;
|
|
type network_score_service, system_api_service, system_server_service, service_manager_type;
|
|
type network_time_update_service, system_server_service, service_manager_type;
|
|
type notification_service, app_api_service, system_server_service, service_manager_type;
|
|
type otadexopt_service, system_server_service, service_manager_type;
|
|
type package_service, app_api_service, system_server_service, service_manager_type;
|
|
type permission_service, app_api_service, system_server_service, service_manager_type;
|
|
type persistent_data_block_service, system_api_service, system_server_service, service_manager_type;
|
|
type pinner_service, system_server_service, service_manager_type;
|
|
type power_service, app_api_service, system_server_service, service_manager_type;
|
|
type print_service, app_api_service, system_server_service, service_manager_type;
|
|
type processinfo_service, system_server_service, service_manager_type;
|
|
type procstats_service, app_api_service, system_server_service, service_manager_type;
|
|
type recovery_service, system_server_service, service_manager_type;
|
|
type registry_service, app_api_service, system_server_service, service_manager_type;
|
|
type restrictions_service, app_api_service, system_server_service, service_manager_type;
|
|
type rttmanager_service, app_api_service, system_server_service, service_manager_type;
|
|
type samplingprofiler_service, system_server_service, service_manager_type;
|
|
type scheduling_policy_service, system_server_service, service_manager_type;
|
|
type search_service, app_api_service, system_server_service, service_manager_type;
|
|
type sensorservice_service, app_api_service, system_server_service, service_manager_type;
|
|
type serial_service, system_api_service, system_server_service, service_manager_type;
|
|
type servicediscovery_service, app_api_service, system_server_service, service_manager_type;
|
|
type shortcut_service, app_api_service, system_server_service, service_manager_type;
|
|
type statusbar_service, app_api_service, system_server_service, service_manager_type;
|
|
type task_service, system_server_service, service_manager_type;
|
|
type textservices_service, app_api_service, system_server_service, service_manager_type;
|
|
type telecom_service, app_api_service, system_server_service, service_manager_type;
|
|
type trust_service, app_api_service, system_server_service, service_manager_type;
|
|
type tv_input_service, app_api_service, system_server_service, service_manager_type;
|
|
type uimode_service, app_api_service, system_server_service, service_manager_type;
|
|
type updatelock_service, system_api_service, system_server_service, service_manager_type;
|
|
type usagestats_service, app_api_service, system_server_service, service_manager_type;
|
|
type usb_service, app_api_service, system_server_service, service_manager_type;
|
|
type user_service, app_api_service, system_server_service, service_manager_type;
|
|
type vibrator_service, app_api_service, system_server_service, service_manager_type;
|
|
type voiceinteraction_service, app_api_service, system_server_service, service_manager_type;
|
|
type vr_manager_service, system_server_service, service_manager_type;
|
|
type wallpaper_service, app_api_service, system_server_service, service_manager_type;
|
|
type webviewupdate_service, app_api_service, system_server_service, service_manager_type;
|
|
type wifip2p_service, app_api_service, system_server_service, service_manager_type;
|
|
type wifiscanner_service, system_api_service, system_server_service, service_manager_type;
|
|
type wifi_service, app_api_service, system_server_service, service_manager_type;
|
|
type wificond_service, system_server_service, service_manager_type;
|
|
type window_service, system_api_service, system_server_service, service_manager_type;
|
|
type wpa_supplicant_service, system_server_service, service_manager_type;
|