2019-09-12 19:21:31 +00:00
|
|
|
type bt_firmware_file, file_type;
|
2018-09-18 09:16:19 +00:00
|
|
|
type rild, domain;
|
2018-08-17 21:43:53 +00:00
|
|
|
|
2018-04-15 18:34:51 +00:00
|
|
|
#me.phh.treble.qti.audio is system-signed
|
|
|
|
allow system_app hal_telephony_hwservice:hwservice_manager { find };
|
2018-09-18 09:16:19 +00:00
|
|
|
allow { rild system_app } { rild system_app }:binder { call transfer };
|
2018-06-28 22:31:05 +00:00
|
|
|
|
|
|
|
#Pixel 1
|
|
|
|
type vnd_qcril_audio_hwservice, hwservice_manager_type;
|
|
|
|
allow system_app vnd_qcril_audio_hwservice:hwservice_manager { find };
|
|
|
|
|
|
|
|
#Pixel 2
|
|
|
|
type vnd_qcrilhook_hwservice, hwservice_manager_type;
|
|
|
|
allow system_app vnd_qcrilhook_hwservice:hwservice_manager { find };
|
2018-08-02 13:01:10 +00:00
|
|
|
|
2018-08-17 21:43:53 +00:00
|
|
|
#OP6
|
|
|
|
allow system_app hal_telephony_hwservice:hwservice_manager { find };
|
|
|
|
|
2018-08-02 13:01:10 +00:00
|
|
|
# cf https://github.com/phhusson/treble_experimentations/issues/131
|
|
|
|
# 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
|
|
|
|
type ipacm, hwservice_manager_type;
|
|
|
|
allow ipacm hal_tetheroffload_hwservice:hwservice_manager { add };
|
2019-09-12 18:58:18 +00:00
|
|
|
|
|
|
|
type rpmb_device, file_type;
|
|
|
|
allow tee rpmb_device:blk_file rw_file_perms;
|
|
|
|
allowxperm tee rpmb_device:blk_file ioctl { 0xb300-0xbfff };
|