Update telephony SELinux policies to avoid name collision.

-Update telephony SELinux policies to avoid name collision
in future.
-Remove old unused telephony SELinux labels.

Change-Id: I60224d6a34d95c853b7ad32a17ecbce4b7b9b204
CRs-Fixed: 2644933
This commit is contained in:
Garik Badalyan
2020-03-18 14:58:05 -07:00
parent 7f04ba192b
commit bb15e90b05
6 changed files with 1 additions and 12 deletions

View File

@@ -24,6 +24,5 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
qti.ims.ext u:object_r:radio_service:s0
cneservice u:object_r:vendor_cne_service:s0
com.qualcomm.qti.ustaservice.USTAServiceImpl u:object_r:vendor_usta_app_service:s0

View File

@@ -26,9 +26,7 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
type vendor_hal_cne_hwservice, hwservice_manager_type, protected_hwservice;
type vendor_hal_cacert_hwservice, hwservice_manager_type, protected_hwservice;
type vendor_vnd_ims_radio_hwservice, hwservice_manager_type, protected_hwservice;
type vendor_hal_dataconnection_hwservice, hwservice_manager_type, protected_hwservice;
type vendor_vnd_qcrilhook_hwservice, hwservice_manager_type, protected_hwservice;
type vendor_hal_iwlan_hwservice, hwservice_manager_type, protected_hwservice;
type vendor_hal_display_config_hwservice, hwservice_manager_type, protected_hwservice;
type vendor_hal_imsrcsd_hwservice, hwservice_manager_type, protected_hwservice;

View File

@@ -26,12 +26,9 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
com.qualcomm.qti.ant::IAntHci u:object_r:hal_bluetooth_hwservice:s0
com.dsi.ant::IAnt u:object_r:hal_bluetooth_hwservice:s0
com.qualcomm.qti.ims.radio::IImsRadio u:object_r:vendor_vnd_ims_radio_hwservice:s0
com.qualcomm.qti.qcril.qcrilhook::IQtiOemHook u:object_r:vendor_vnd_qcrilhook_hwservice:s0
vendor.qti.hardware.data.iwlan::IIWlan u:object_r:vendor_hal_iwlan_hwservice:s0
com.qualcomm.qti.uceservice::IUceService u:object_r:vendor_hal_imsrcsd_hwservice:s0
vendor.qti.ims.callinfo::IService u:object_r:vendor_hal_imscallinfo_hwservice:s0
vendor.qti.qcril.am::IQcRilAudio u:object_r:vendor_vnd_qcrilhook_hwservice:s0
vendor.qti.imsrtpservice::IRTPService u:object_r:vendor_hal_imsrtp_hwservice:s0
vendor.qti.data.factory::IFactory u:object_r:vendor_hal_datafactory_hwservice:s0
vendor.qti.hardware.data.connection::IDataConnection u:object_r:vendor_hal_dataconnection_hwservice:s0

View File

@@ -30,8 +30,6 @@ allow radio vendor_framework_file:file r_file_perms;
allow radio vendor_framework_file:dir search;
hwbinder_use(radio)
allow radio vendor_vnd_ims_radio_hwservice:hwservice_manager find;
allow radio vendor_vnd_qcrilhook_hwservice:hwservice_manager find;
allow radio vendor_hal_imsrtp_hwservice:hwservice_manager find;
add_service(radio, radio_service)

View File

@@ -36,9 +36,6 @@ allow rild vendor_file:file { execute_no_trans lock ioctl };
allow rild self:tipc_socket { create_socket_perms_no_ioctl };
allow rild vendor_per_mgr_service:service_manager find;
add_hwservice(rild, vendor_vnd_ims_radio_hwservice)
add_hwservice(rild, vendor_vnd_qcrilhook_hwservice)
allow rild self:socket ioctl;
allowxperm rild self:socket ioctl msm_sock_ipc_ioctls;
allow rild vendor_time_daemon:unix_stream_socket connectto;

View File

@@ -30,7 +30,7 @@ MinkBinderSvc u:object_r:vendor_MinkBinderSvc:s
vendor.perfservice u:object_r:vendor_perf_service:s0
sms-sec u:object_r:radio_service:s0
extphone u:object_r:radio_service:s0
qti.ims.ext u:object_r:radio_service:s0
qti.radio.extphone u:object_r:radio_service:s0
com.qualcomm.location.izat.IzatService u:object_r:vendor_izat_service:s0
qti.security.seempspa u:object_r:vendor_seemp_service:s0
vendor.audio.vrservice u:object_r:audioserver_service:s0