blob: 186015cad28216d68855a064f9ccdd3815c8d497 [file] [log] [blame]
Steven Morelandaa11b6a2017-02-13 09:09:56 -08001#############################
2# Default HALs
3#
Wei Wang9ed5cf62018-09-19 16:06:28 -07004/(vendor|system/vendor)/bin/hw/android\.hardware\.atrace@1\.0-service u:object_r:hal_atrace_default_exec:s0
Kevin Rocard8fcd26e2019-07-03 16:31:20 -07005/(vendor|system/vendor)/bin/hw/android\.hardware\.audio(@2\.0-|\.)service u:object_r:hal_audio_default_exec:s0
Pavel Maltsev394dbe32018-04-10 14:07:14 -07006/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.audiocontrol@1\.0-service u:object_r:hal_audiocontrol_default_exec:s0
Tomasz Wasilczyk602b3032019-07-23 17:38:51 -07007/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.can@1\.0-service u:object_r:hal_can_socketcan_exec:s0
Changyeon Jo5ee628f2019-07-29 09:07:42 -07008/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.evs@1\.[0-9]-service u:object_r:hal_evs_default_exec:s0
Pavel Maltsev394dbe32018-04-10 14:07:14 -07009/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.vehicle@2\.0-service u:object_r:hal_vehicle_default_exec:s0
Steven Moreland0b23d3e2017-02-27 08:59:39 -080010/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service u:object_r:hal_bluetooth_default_exec:s0
Dmitry Shmidta0c34162018-04-05 12:46:05 -070011/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service\.btlinux u:object_r:hal_bluetooth_btlinux_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080012/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0
David Anderson549e3c62019-08-30 13:55:50 -070013/(vendor|system/vendor)/bin/hw/android\.hardware\.boot@1\.[0-9]+-service u:object_r:hal_bootctl_default_exec:s0
Tomasz Wasilczyk4f7bb752017-12-07 09:48:16 -080014/(vendor|system/vendor)/bin/hw/android\.hardware\.broadcastradio@\d+\.\d+-service u:object_r:hal_broadcastradio_default_exec:s0
Eino-Ville Talvala2efd25c2018-12-12 15:31:56 -080015/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service_64 u:object_r:hal_camera_default_exec:s0
16/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service u:object_r:hal_camera_default_exec:s0
17/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service-lazy_64 u:object_r:hal_camera_default_exec:s0
18/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service-lazy u:object_r:hal_camera_default_exec:s0
19/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-external-service u:object_r:hal_camera_default_exec:s0
Jaesoo Leec895f272017-05-02 14:54:19 +090020/(vendor|system/vendor)/bin/hw/android\.hardware\.configstore@1\.[0-9]+-service u:object_r:hal_configstore_default_exec:s0
Janis Danisevskis97c56bd2018-01-09 17:42:53 -050021/(vendor|sustem/vendor)/bin/hw/android\.hardware\.confirmationui@1\.0-service u:object_r:hal_confirmationui_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080022/(vendor|system/vendor)/bin/hw/android\.hardware\.contexthub@1\.0-service u:object_r:hal_contexthub_default_exec:s0
23/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.0-service u:object_r:hal_drm_default_exec:s0
Peter Kalauskasd1eeffc2018-12-07 10:28:27 -080024/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.0-service-lazy u:object_r:hal_drm_default_exec:s0
Henry Fangb418dd92019-10-14 17:37:17 -070025/(vendor|system/vendor)/bin/hw/android\.hardware\.cas@1\.[0-2]-service u:object_r:hal_cas_default_exec:s0
26/(vendor|system/vendor)/bin/hw/android\.hardware\.cas@1\.[0-2]-service-lazy u:object_r:hal_cas_default_exec:s0
Steven Moreland10d26092019-08-27 11:07:51 -070027/(vendor|system/vendor)/bin/hw/android\.hardware\.dumpstate@1\.0-service\.example u:object_r:hal_dumpstate_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080028/(vendor|system/vendor)/bin/hw/android\.hardware\.gatekeeper@1\.0-service u:object_r:hal_gatekeeper_default_exec:s0
Yu-Han Yang63de8592018-12-12 12:15:41 -080029/(vendor|system/vendor)/bin/hw/android\.hardware\.gnss@[0-9]\.[0-9]-service u:object_r:hal_gnss_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080030/(vendor|system/vendor)/bin/hw/android\.hardware\.graphics\.allocator@2\.0-service u:object_r:hal_graphics_allocator_default_exec:s0
Marissa Wall97f53832019-01-05 15:22:41 -080031/(vendor|system/vendor)/bin/hw/android\.hardware\.graphics\.allocator@3\.0-service u:object_r:hal_graphics_allocator_default_exec:s0
Marissa Wall34746532019-06-20 14:10:59 -070032/(vendor|system/vendor)/bin/hw/android\.hardware\.graphics\.allocator@4\.0-service u:object_r:hal_graphics_allocator_default_exec:s0
Peiyong Linda3a8372018-12-21 06:42:33 -080033/(vendor|system/vendor)/bin/hw/android\.hardware\.graphics\.composer@[0-9]\.[0-9]-service u:object_r:hal_graphics_composer_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080034/(vendor|system/vendor)/bin/hw/android\.hardware\.health@1\.0-service u:object_r:hal_health_default_exec:s0
Yifan Hong9788e832017-06-02 13:59:39 -070035/(vendor|system/vendor)/bin/hw/android\.hardware\.health@2\.0-service u:object_r:hal_health_default_exec:s0
Yifan Hongfbce5cc2019-10-07 14:24:41 -070036/(vendor|system/vendor)/bin/hw/android\.hardware\.health@2\.1-service u:object_r:hal_health_default_exec:s0
Yifan Hong145940f2018-09-19 10:24:45 -070037/(vendor|system/vendor)/bin/hw/android\.hardware\.health\.storage@1\.0-service u:object_r:hal_health_storage_default_exec:s0
Siarhei Vishniakou41a871b2018-01-17 12:27:06 -080038/(vendor|system/vendor)/bin/hw/android\.hardware\.input\.classifier@1\.0-service u:object_r:hal_input_classifier_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080039/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service u:object_r:hal_ir_default_exec:s0
40/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@3\.0-service u:object_r:hal_keymaster_default_exec:s0
Shawn Willden219c66c2018-01-03 10:55:13 -070041/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service u:object_r:hal_keymaster_default_exec:s0
Shawn Willden10f0b532019-11-12 17:50:44 -070042/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.1-service u:object_r:hal_keymaster_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080043/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service u:object_r:hal_light_default_exec:s0
Peter Kalauskasb1bdbb52019-01-16 15:37:39 -080044/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service-lazy u:object_r:hal_light_default_exec:s0
Robert Quattlebaumacfd25c2017-04-21 14:25:53 -070045/(vendor|system/vendor)/bin/hw/android\.hardware\.lowpan@1\.0-service u:object_r:hal_lowpan_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080046/(vendor|system/vendor)/bin/hw/android\.hardware\.memtrack@1\.0-service u:object_r:hal_memtrack_default_exec:s0
47/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.0-service u:object_r:hal_nfc_default_exec:s0
Ruchi Kandoi0be3fbf2018-01-31 11:10:23 -080048/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.1-service u:object_r:hal_nfc_default_exec:s0
Jack Yua5dde792019-04-22 19:52:55 +080049/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0
Pawin Vongmasa96a5b4a2017-02-27 20:35:43 -080050/(vendor|system/vendor)/bin/hw/android\.hardware\.media\.omx@1\.0-service u:object_r:mediacodec_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080051/(vendor|system/vendor)/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_default_exec:s0
Vinay Kaliaa4babcf2018-10-19 13:19:36 -070052/(vendor|system/vendor)/bin/hw/android\.hardware\.power\.stats@1\.0-service u:object_r:hal_power_stats_default_exec:s0
yinxu612350e2018-01-23 15:05:57 -080053/(vendor|system/vendor)/bin/hw/android\.hardware\.radio\.config@1\.0-service u:object_r:hal_radio_config_default_exec:s0
sqian64839e82018-03-29 13:59:00 -070054/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-radio-service u:object_r:hal_radio_default_exec:s0
55/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-sap-service u:object_r:hal_radio_default_exec:s0
Brian Stackb8baed82019-01-22 12:59:52 -080056/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service u:object_r:hal_sensors_default_exec:s0
Ruchi Kandoi8a2b4a72018-01-04 10:33:20 -080057/(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service u:object_r:hal_secure_element_default_exec:s0
Amit Mahajanf7bed712017-02-23 15:18:44 -080058/(vendor|system/vendor)/bin/hw/rild u:object_r:rild_exec:s0
Todd Poynore9b2def2017-06-09 11:27:08 -070059/(vendor|system/vendor)/bin/hw/android\.hardware\.thermal@1\.[01]-service u:object_r:hal_thermal_default_exec:s0
Donghyun Chof81dd0c2017-04-05 11:20:48 +090060/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.cec@1\.0-service u:object_r:hal_tv_cec_default_exec:s0
Shubangc76e1582017-03-29 15:03:59 -070061/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.input@1\.0-service u:object_r:hal_tv_input_default_exec:s0
Amy89b4bbd2019-08-09 14:27:17 -070062/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.tuner@1\.0-service u:object_r:hal_tv_tuner_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080063/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.0-service u:object_r:hal_usb_default_exec:s0
64/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_default_exec:s0
Steven Morelandd87649c2019-10-25 15:04:45 -070065/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator-service.example u:object_r:hal_vibrator_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080066/(vendor|system/vendor)/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_default_exec:s0
Sohani Rao3dd460b2017-03-01 10:25:44 -080067/(vendor|system/vendor)/bin/hw/android\.hardware\.wifi\.offload@1\.0-service u:object_r:hal_wifi_offload_default_exec:s0
Alex Klyubin3001d5a2017-02-16 12:59:44 -080068/(vendor|system/vendor)/bin/hw/android\.hardware\.wifi@1\.0-service u:object_r:hal_wifi_default_exec:s0
Peter Kalauskas03f43012019-01-15 10:06:20 -080069/(vendor|system/vendor)/bin/hw/android\.hardware\.wifi@1\.0-service-lazy u:object_r:hal_wifi_default_exec:s0
Roshan Pius5bca3e82017-12-22 15:03:15 -080070/(vendor|system/vendor)/bin/hw/hostapd u:object_r:hal_wifi_hostapd_default_exec:s0
Po-Chien Hsueh9a293012017-02-12 01:51:10 +080071/(vendor|system/vendor)/bin/hw/wpa_supplicant u:object_r:hal_wifi_supplicant_default_exec:s0
Martijn Coenencba70be2017-03-21 16:01:52 -070072/(vendor|system/vendor)/bin/vndservicemanager u:object_r:vndservicemanager_exec:s0
Sandeep Patil277a20e2017-04-01 17:17:12 -070073
74#############################
75# Same process HALs installed by platform into /vendor
76#
77/(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@2\.0-impl\.so u:object_r:same_process_hal_file:s0
Valerie Haud3499df2019-06-14 12:28:58 -070078/(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@2\.0-impl-2\.1\.so u:object_r:same_process_hal_file:s0
Marissa Wall97f53832019-01-05 15:22:41 -080079/(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@3\.0-impl\.so u:object_r:same_process_hal_file:s0
Marissa Wall34746532019-06-20 14:10:59 -070080/(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@4\.0-impl\.so u:object_r:same_process_hal_file:s0
Sandeep Patil277a20e2017-04-01 17:17:12 -070081/(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.renderscript@1\.0-impl\.so u:object_r:same_process_hal_file:s0
Sandeep Patil366c2ec2017-04-06 13:50:23 -070082/(vendor|system/vendor)/lib(64)?/hw/gralloc\.default\.so u:object_r:same_process_hal_file:s0
Sandeep Patil277a20e2017-04-01 17:17:12 -070083
Po-Chien Hsueh9a293012017-02-12 01:51:10 +080084#############################
Steven Morelandb081eee2019-09-26 15:46:34 -070085# Libraries removed from vndk-sp (must still be accessible by passthrough HALs using them)
86#
87/(vendor|system/vendor)/lib(64)?/libhwbinder.so u:object_r:same_process_hal_file:s0
88/(vendor|system/vendor)/lib(64)?/libhidltransport.so u:object_r:same_process_hal_file:s0
89
90#############################
Po-Chien Hsueh9a293012017-02-12 01:51:10 +080091# Data files
92#
Roshan Pius5bca3e82017-12-22 15:03:15 -080093/data/vendor/wifi/hostapd(/.*)? u:object_r:hostapd_data_file:s0
Jeff Vander Stoepb1590ad2018-01-24 08:49:16 -080094/data/vendor/wifi/wpa(/.*)? u:object_r:wpa_data_file:s0