From fb536a46b0c0971b9c5f81eadc3574f9c569aadd Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Sun, 11 Jun 2017 23:13:33 +0200 Subject: remove code and SELinux rules for the proprietary RIL Signed-off-by: Wolfgang Wiedmeyer --- sepolicy/cpboot-daemon.te | 13 ------------- sepolicy/domain.te | 1 - sepolicy/file_contexts | 1 - sepolicy/init.te | 2 -- 4 files changed, 17 deletions(-) delete mode 100644 sepolicy/cpboot-daemon.te delete mode 100644 sepolicy/domain.te delete mode 100644 sepolicy/init.te (limited to 'sepolicy') diff --git a/sepolicy/cpboot-daemon.te b/sepolicy/cpboot-daemon.te deleted file mode 100644 index 08281f4..0000000 --- a/sepolicy/cpboot-daemon.te +++ /dev/null @@ -1,13 +0,0 @@ -allow cpboot-daemon cbd_device:chr_file create_file_perms; -allow cpboot-daemon cgroup:dir { create add_name }; -allow cpboot-daemon device:dir { write add_name }; -allow cpboot-daemon efs_file:file { read write open }; -allow cpboot-daemon radio_device:blk_file r_file_perms; -allow cpboot-daemon radio_device:chr_file rw_file_perms; -allow cpboot-daemon self:capability setuid; -allow cpboot-daemon { block_device efs_file }:dir search; - -# Talk to init over the property socket -unix_socket_connect(cpboot-daemon, property, init) - -allow cpboot-daemon radio_prop:property_service set; diff --git a/sepolicy/domain.te b/sepolicy/domain.te deleted file mode 100644 index 2c6ccbb..0000000 --- a/sepolicy/domain.te +++ /dev/null @@ -1 +0,0 @@ -domain_trans(init, rootfs, cpboot-daemon) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index bea6d0b..4ad5625 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -9,7 +9,6 @@ /dev/umts_rfs0 u:object_r:radio_device:s0 /dev/umts_router u:object_r:radio_device:s0 /dev/__cbd_msg_ u:object_r:cbd_device:s0 -/system/vendor/bin/cbd u:object_r:cpboot-daemon_exec:s0 # Radio Data /data/misc/radio(/.*)? u:object_r:radio_data:s0 diff --git a/sepolicy/init.te b/sepolicy/init.te deleted file mode 100644 index bc775a9..0000000 --- a/sepolicy/init.te +++ /dev/null @@ -1,2 +0,0 @@ -# Requied to load shim libs -allow init rild:process noatsecure; -- cgit v1.1