Pierre-Hugues Husson | 7171b32 | 2018-04-15 20:34:51 +0200 | [diff] [blame] | 1 | #me.phh.treble.qti.audio is system-signed |
| 2 | allow system_app hal_telephony_hwservice:hwservice_manager { find }; |
Jon West | 3229873 | 2018-08-12 13:52:13 -0400 | [diff] [blame] | 3 | # allow { rild system_app } { rild system_app }:binder { call transfer }; |
Pierre-Hugues Husson | 9b1ab76 | 2018-06-29 00:31:05 +0200 | [diff] [blame] | 4 | |
| 5 | #Pixel 1 |
| 6 | type vnd_qcril_audio_hwservice, hwservice_manager_type; |
| 7 | allow system_app vnd_qcril_audio_hwservice:hwservice_manager { find }; |
| 8 | |
| 9 | #Pixel 2 |
| 10 | type vnd_qcrilhook_hwservice, hwservice_manager_type; |
| 11 | allow system_app vnd_qcrilhook_hwservice:hwservice_manager { find }; |
Pierre-Hugues Husson | 64b63df | 2018-08-02 15:01:10 +0200 | [diff] [blame] | 12 | |
| 13 | # cf https://github.com/phhusson/treble_experimentations/issues/131 |
| 14 | # SELinux : avc: denied { add } for interface=android.hardware.tetheroffload.control::IOffloadControl pid=15220 scontext=u:r:ipacm:s0 tcontext=u:object_r:hal_tetheroffload_hwservice:s0 tclass=hwservice_manager permissive=0 |
| 15 | type ipacm, hwservice_manager_type; |
| 16 | allow ipacm hal_tetheroffload_hwservice:hwservice_manager { add }; |