aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-11 23:13:33 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-23 13:17:28 +0200
commitfb536a46b0c0971b9c5f81eadc3574f9c569aadd (patch)
treea4c4065a1092931b18681ea54a212e48e2c13476 /sepolicy
parentcbb420bca1818b222913c784292f39f4a91b1ee8 (diff)
downloaddevice_samsung_espresso3g-fb536a46b0c0971b9c5f81eadc3574f9c569aadd.zip
device_samsung_espresso3g-fb536a46b0c0971b9c5f81eadc3574f9c569aadd.tar.gz
device_samsung_espresso3g-fb536a46b0c0971b9c5f81eadc3574f9c569aadd.tar.bz2
remove code and SELinux rules for the proprietary RIL
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/cpboot-daemon.te13
-rw-r--r--sepolicy/domain.te1
-rw-r--r--sepolicy/file_contexts1
-rw-r--r--sepolicy/init.te2
4 files changed, 0 insertions, 17 deletions
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;