blob: 9774d76aa6a8f17d4dea0ded21f7fa07afc5e72b [file] [log] [blame]
Pierre-Hugues Husson186305f2018-08-17 23:43:53 +02001attribute rild_26_0;
2attribute rild_27_0;
3
Pierre-Hugues Husson7171b322018-04-15 20:34:51 +02004#me.phh.treble.qti.audio is system-signed
5allow system_app hal_telephony_hwservice:hwservice_manager { find };
Pierre-Hugues Husson186305f2018-08-17 23:43:53 +02006allow { rild_26_0 rild_27_0 system_app } { rild_26_0 rild_27_0 system_app }:binder { call transfer };
Pierre-Hugues Husson9b1ab762018-06-29 00:31:05 +02007
8#Pixel 1
9type vnd_qcril_audio_hwservice, hwservice_manager_type;
10allow system_app vnd_qcril_audio_hwservice:hwservice_manager { find };
11
12#Pixel 2
13type vnd_qcrilhook_hwservice, hwservice_manager_type;
14allow system_app vnd_qcrilhook_hwservice:hwservice_manager { find };
Pierre-Hugues Husson64b63df2018-08-02 15:01:10 +020015
Pierre-Hugues Husson186305f2018-08-17 23:43:53 +020016#OP6
17allow system_app hal_telephony_hwservice:hwservice_manager { find };
18
Pierre-Hugues Husson64b63df2018-08-02 15:01:10 +020019# cf https://github.com/phhusson/treble_experimentations/issues/131
20# 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
21type ipacm, hwservice_manager_type;
22allow ipacm hal_tetheroffload_hwservice:hwservice_manager { add };