summaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authorJookia <166291@gmail.com>2016-11-05 16:55:17 +1100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-10 10:58:57 +0100
commit640eb97c4371224b8484b5028c5f035c191548a3 (patch)
treebe96a42216102222513458cb083ed0301d5c8b7a /selinux
parent9b6470665a64c5191e6b2af4aa049e39666d1191 (diff)
downloaddevice_samsung_galaxys2-common-640eb97c4371224b8484b5028c5f035c191548a3.zip
device_samsung_galaxys2-common-640eb97c4371224b8484b5028c5f035c191548a3.tar.gz
device_samsung_galaxys2-common-640eb97c4371224b8484b5028c5f035c191548a3.tar.bz2
Remove unused proprietary RIL wrapping code.
Diffstat (limited to 'selinux')
-rw-r--r--selinux/cpboot-daemon.te23
-rw-r--r--selinux/init.te1
2 files changed, 0 insertions, 24 deletions
diff --git a/selinux/cpboot-daemon.te b/selinux/cpboot-daemon.te
deleted file mode 100644
index ef49102..0000000
--- a/selinux/cpboot-daemon.te
+++ /dev/null
@@ -1,23 +0,0 @@
-type cpboot-daemon, domain;
-
-permissive cpboot-daemon;
-
-allow cpboot-daemon cgroup:dir { create add_name };
-allow cpboot-daemon device:dir { write remove_name add_name };
-allow cpboot-daemon efs_block_device:blk_file { read open };
-allow cpboot-daemon efs_device_file:dir search;
-allow cpboot-daemon efs_file:file { read write open };
-allow cpboot-daemon init:unix_stream_socket connectto;
-allow cpboot-daemon log_device:chr_file { write open };
-allow cpboot-daemon log_device:dir search;
-allow cpboot-daemon property_socket:sock_file write;
-allow cpboot-daemon radio_device:chr_file { read write ioctl open };
-allow cpboot-daemon radio_prop:property_service set;
-allow cpboot-daemon self:capability { setuid };
-allow cpboot-daemon sysfs_radio:file { read write open };
-allow cpboot-daemon usbfs:dir search;
-
-
-# FIX ME
-# allow cpboot-daemon usbfs:filesystem mount;
-# allow cpboot-daemon self:capability { mknod };
diff --git a/selinux/init.te b/selinux/init.te
index 2a23be5..ea98326 100644
--- a/selinux/init.te
+++ b/selinux/init.te
@@ -2,4 +2,3 @@ allow init self:capability sys_module;
allow init tmpfs:lnk_file create;
allow init rild:process noatsecure;
allow init debugfs:dir mounton;
-domain_trans(init, rootfs, cpboot-daemon)